From af13f489b9b532506a6f8697c138f276a27a55da Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 23 Dec 2004 15:33:47 +0000 Subject: [PATCH] (svn r1250) -Fix: a dedicated server could not kick user number 1 --- console_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console_cmds.c b/console_cmds.c index a0b354329a..4fdad2e594 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; }