summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
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");
}