From 6fde6b0fe90abde84011202edd40fe46eb06af44 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 21 Nov 2010 16:20:55 +0000 Subject: --- src/mods/commands/yc_unban.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/mods/commands/yc_unban.cpp') 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 = "get_elem("chat.html.errorcolor") + "\">" @@ -56,15 +54,15 @@ extern "C" + "
\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 + " " + p_user->get_colored_bold_name() + " " + p_conf->get_elem("chat.msgs.unban") + " " - + s_unbannick_user + " " + s_reason + "
\n"; + + s_unbannick_user + "
" + s_reason + "
\n"; p_user->msg_post(s_msg); } -- cgit v1.2.3