summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-22 18:51:09 +0000
committerdarkvater <darkvater@openttd.org>2005-01-22 18:51:09 +0000
commite00fd30057767432fc0f62a1255fddadb63360b3 (patch)
tree1af025abec6bca03680cfec864942a4ae0185899
parenteaf4c8bd2eb4f53443cff7b0841f22eeac34e442 (diff)
downloadopenttd-e00fd30057767432fc0f62a1255fddadb63360b3.tar.xz
(svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server cannot ban itself :)
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 898c07f6e..7d4e927cb 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -304,7 +304,7 @@ DEF_CONSOLE_CMD(ConBan)
if (argc == 2) {
uint32 index = atoi(argv[1]);
- if (index == NETWORK_SERVER_INDEX && !_network_dedicated) {
+ if (index == NETWORK_SERVER_INDEX) {
IConsolePrint(_iconsole_color_default, "Silly boy, you can not ban yourself!");
return NULL;
}