From bd2aece3dad47e58efae4c1342c37cb356f97509 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 11 Apr 2009 11:14:12 +0000 Subject: [PATCH] Small improvements concerning ban texts. --- src/net/common/serverlobbythread.cpp | 4 ++-- src/net/common/servermanager.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 2cefb351..abae58c9 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -304,7 +304,7 @@ ServerLobbyThread::GetBanList(list &list) const while (i_nick != end_nick) { ostringstream banText; - banText << (*i_nick).first << " (nick): " << (*i_nick).second.str(); + banText << (*i_nick).first << ": (nick) - " << (*i_nick).second.str(); list.push_back(banText.str()); ++i_nick; } @@ -313,7 +313,7 @@ ServerLobbyThread::GetBanList(list &list) const while (i_ip != end_ip) { ostringstream banText; - banText << (*i_ip).first << " (IP): " << (*i_ip).second; + banText << (*i_ip).first << ": (IP) - " << (*i_ip).second; list.push_back(banText.str()); ++i_ip; } diff --git a/src/net/common/servermanager.cpp b/src/net/common/servermanager.cpp index 9ce16921..124df6e3 100644 --- a/src/net/common/servermanager.cpp +++ b/src/net/common/servermanager.cpp @@ -169,9 +169,9 @@ ServerManager::SignalIrcChatMsg(const std::string &nickName, const std::string & unsigned banId = 0; msgStream >> banId; if (GetLobbyThread().UnBan(banId)) - m_ircThread->SendChatMessage(nickName + ": The nick ban was successfully removed."); + m_ircThread->SendChatMessage(nickName + ": The ban was successfully removed."); else - m_ircThread->SendChatMessage(nickName + ": This nick ban does not exist."); + m_ircThread->SendChatMessage(nickName + ": This ban does not exist."); } else if (command == "clearban") {