Adding server function to reconnect to the chat server.

This commit is contained in:
lotodore
2009-08-17 11:26:03 +00:00
parent 6eb25757bc
commit b796b0cbe7
5 changed files with 31 additions and 3 deletions
+5
View File
@@ -112,6 +112,11 @@ ServerManager::SignalIrcChatMsg(const std::string &nickName, const std::string &
m_ircThread->SendChatMessage(nickName + ": Player \"" + playerName + "\" was not found on the server.");
}
}
else if (command == "cleaner-reconnect")
{
GetLobbyThread().ReconnectChatBot();
m_ircThread->SendChatMessage(nickName + ": Cleaner bot reconnect initiated.");
}
else if (command == "showip")
{
while (msgStream.peek() == ' ')