diff options
author | rubidium <rubidium@openttd.org> | 2008-06-30 14:48:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-30 14:48:44 +0000 |
commit | 6d1b927814d949bbb56d3965ed2e8827f9546502 (patch) | |
tree | bc5227c46084482af2b88315ab5fabdff5b33c2b | |
parent | cfdc710104648f5321e0e65676db655aa4709d0e (diff) | |
download | openttd-6d1b927814d949bbb56d3965ed2e8827f9546502.tar.xz |
(svn r13661) -Fix: server crashing when banning the rconning client.
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index fe69e759b..4589dd579 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -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"); } |