Do not use regex for chat bot bans.

This commit is contained in:
lotodore
2010-07-14 17:55:49 +00:00
parent 6c997ca21a
commit b4d02f4cb0
3 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ public:
string playerName(m_server.GetPlayerNameFromId(playerId));
if (!playerName.empty())
{
m_server.GetBanManager().BanPlayerRegex(playerName, 1);
m_server.GetBanManager().BanPlayerName(playerName, 1);
m_server.RemovePlayer(playerId, ERR_NET_PLAYER_KICKED);
}
}