diff options
author | truelight <truelight@openttd.org> | 2004-12-23 15:33:47 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-23 15:33:47 +0000 |
commit | c48ba54a09e9302c44e2cb7e372c5e8402903d18 (patch) | |
tree | 86d22b32611f8fb8050767fd9708490c1b767fc9 | |
parent | 3f87f29a81c8adb98edd1acd70c790e64d604757 (diff) | |
download | openttd-c48ba54a09e9302c44e2cb7e372c5e8402903d18.tar.xz |
(svn r1250) -Fix: a dedicated server could not kick user number 1
-rw-r--r-- | console_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index a0b354329..4fdad2e59 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -190,7 +190,7 @@ DEF_CONSOLE_CMD(ConKick) if (argc == 2) { uint32 index = atoi(argv[1]); - if (index == NETWORK_SERVER_INDEX) { + if (index == NETWORK_SERVER_INDEX && !_network_dedicated) { IConsolePrint(_iconsole_color_default, "Silly boy, you can not kick yourself!"); return NULL; } |