# HG changeset patch # User rubidium # Date 1214837324 0 # Node ID 754cb1e0e83356d424daab9bb4f7677c39373d83 # Parent 5a5728fb702ad34a8bff97be27a00102991345a1 (svn r13661) -Fix: server crashing when banning the rconning client. diff -r 5a5728fb702a -r 754cb1e0e833 src/console_cmds.cpp --- a/src/console_cmds.cpp Sat Jun 28 15:44:24 2008 +0000 +++ b/src/console_cmds.cpp Mon Jun 30 14:48:44 2008 +0000 @@ -407,9 +407,9 @@ } 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"); }