(svn r1250) -Fix: a dedicated server could not kick user number 1

pull/155/head
truelight 20 years ago
parent 4395293d9f
commit af13f489b9

@ -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;
}

Loading…
Cancel
Save