diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index f17236d5..b7ca16d7 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -886,7 +886,7 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText ) G_SayTo( ent, other, mode, color, name, text ); } - if( g_admin.string[ 0 ] && g_adminParseSay.integer ) + if( g_adminParseSay.integer ) { G_admin_cmd_check ( ent, qtrue ); } @@ -2712,7 +2712,7 @@ void ClientCommand( int clientNum ) return; } - if( g_admin.string[ 0 ] && G_admin_cmd_check( ent, qfalse ) ) + if( G_admin_cmd_check( ent, qfalse ) ) return; // ignore all other commands when at intermission |