summaryrefslogtreecommitdiff
path: root/src/mods/commands/yc_unban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods/commands/yc_unban.cpp')
-rw-r--r--src/mods/commands/yc_unban.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mods/commands/yc_unban.cpp b/src/mods/commands/yc_unban.cpp
index d0fa527..fbe7513 100644
--- a/src/mods/commands/yc_unban.cpp
+++ b/src/mods/commands/yc_unban.cpp
@@ -1,12 +1,11 @@
/*:*
- *: File: ./src/mods/commands/yc_unban.cpp
+ *: File: ./src/mods/commands/yc_unbannick.cpp
*:
- *: yChat; Homepage: ychat.buetow.org; Version 0.9.0-CURRENT
+ *: yChat; Homepage: www.yChat.org; Version 0.8.3-CURRENT
*:
*: Copyright (C) 2003 Paul C. Buetow, Volker Richter
*: Copyright (C) 2004 Paul C. Buetow
*: Copyright (C) 2005 EXA Digital Solutions GbR
- *: Copyright (C) 2006, 2007 Paul C. Buetow
*:
*: This program is free software; you can redistribute it and/or
*: modify it under the terms of the GNU General Public License
@@ -46,8 +45,7 @@ extern "C"
string s_unbannick_user(*iter);
string s_reason = p_chat->unban_nick(s_unbannick_user);
- if (s_reason.empty())
- {
+ if (s_reason.empty()) {
string s_msg = "<font color=\"#"
+ p_conf->get_elem("chat.html.errorcolor")
+ "\"><b>"
@@ -56,15 +54,15 @@ extern "C"
+ "</font><br>\n";
p_user->msg_post( &s_msg );
- return 0;
- }
+ return 0;
+ }
string s_time = "";
if ( p_conf->get_elem("chat.printalwaystime") == "true" )
s_time = p_timr->get_time() + " ";
string s_msg = s_time + "<i> " + p_user->get_colored_bold_name() + " " + p_conf->get_elem("chat.msgs.unban") + " <b>"
- + s_unbannick_user + "</b> " + s_reason + "</i><br>\n";
+ + s_unbannick_user + "</b> " + s_reason + "</i><br>\n";
p_user->msg_post(s_msg);
}