From c48ba54a09e9302c44e2cb7e372c5e8402903d18 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 23 Dec 2004 15:33:47 +0000 Subject: (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 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; } -- cgit v1.2.3-70-g09d2