summaryrefslogtreecommitdiff
path: root/src/mods/commands/yc_ungag.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-21 16:20:55 +0000
committerPaul Buetow <paul@buetow.org>2010-11-21 16:20:55 +0000
commit6fde6b0fe90abde84011202edd40fe46eb06af44 (patch)
treeef760338c50b4df3ae9cca96347bca962fdbec7e /src/mods/commands/yc_ungag.cpp
parent55b08bd93257d32df76efc4e8e3f49311c39ee82 (diff)
Diffstat (limited to 'src/mods/commands/yc_ungag.cpp')
-rw-r--r--src/mods/commands/yc_ungag.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mods/commands/yc_ungag.cpp b/src/mods/commands/yc_ungag.cpp
index 075a246..6d8c03c 100644
--- a/src/mods/commands/yc_ungag.cpp
+++ b/src/mods/commands/yc_ungag.cpp
@@ -1,12 +1,11 @@
/*:*
*: File: ./src/mods/commands/yc_ungag.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
@@ -61,15 +60,15 @@ extern "C"
s_reason.append( *iter + " " );
if ( s_reason.length() > 0 )
- s_reason = " (" + p_user->make_colors(s_reason) + ")";
+ s_reason = " (" + p_user->make_colors(s_reason) + ")";
string s_msg = s_time + "<i> " + p_user->get_colored_bold_name() + " " + p_conf->get_elem("chat.msgs.ungag") + " "
- + p_ungag_user->get_colored_bold_name() + s_reason + "</i><br>\n";
+ + p_ungag_user->get_colored_bold_name() + s_reason + "</i><br>\n";
- p_user->msg_post(s_msg);
- if (! p_user->same_rooms(p_ungag_user) )
- p_ungag_user->msg_post(s_msg);
+ p_user->msg_post(s_msg);
+ if (! p_user->same_rooms(p_ungag_user) )
+ p_ungag_user->msg_post(s_msg);
p_ungag_user->set_is_gag(false);