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
commitb49547b2b56ca6cffe06ed7dc763feddd6519d7f (patch)
tree1af025abec6bca03680cfec864942a4ae0185899
parentc0a0d1bb223e1f01a1014b8a08644128366584d9 (diff)
downloadopenttd-b49547b2b56ca6cffe06ed7dc763feddd6519d7f.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;
}