(svn r13661) -Fix: server crashing when banning the rconning client.

This commit is contained in:
rubidium 2008-06-30 14:48:44 +00:00
parent ecc5d648df
commit 6a216ee4f6
1 changed files with 1 additions and 1 deletions

View File

@ -407,9 +407,9 @@ DEF_CONSOLE_CMD(ConBan)
}
if (ci != NULL) {
IConsolePrint(CC_DEFAULT, "Client banned");
banip = GetPlayerIP(ci);
NetworkServerSendError(index, NETWORK_ERROR_KICKED);
IConsolePrint(CC_DEFAULT, "Client banned");
} else {
IConsolePrint(CC_DEFAULT, "Client not online, banned IP");
}