diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index fd50012e4..cc09132f5 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2691,7 +2691,7 @@ int parse_console(char* buf) ShowInfo("Type of command: '%s' || Command: '%s' || Map: '%s' Coords: %d %d\n", type, command, map, x, y); if( n == 5 && strcmpi("admin",type) == 0 ){ - if( is_atcommand_sub(sd.fd,&sd,command,99) == AtCommand_None ) + if( !is_atcommand_sub(sd.fd,&sd,command,99) ) printf("Console: not atcommand\n"); } else if( n == 2 && strcmpi("server",type) == 0 ){ if( strcmpi("shutdown",command) == 0 || |