Small improvements concerning ban texts.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user