Small improvements concerning ban texts.

This commit is contained in:
lotodore
2009-04-11 11:14:12 +00:00
parent 33001626c1
commit bd2aece3da
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -304,7 +304,7 @@ ServerLobbyThread::GetBanList(list<string> &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<string> &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;
}
+2 -2
View File
@@ -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")
{