From e00fd30057767432fc0f62a1255fddadb63360b3 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sat, 22 Jan 2005 18:51:09 +0000 Subject: (svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server cannot ban itself :) --- console_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf