From 189b9daf077e572eaf6573cbf5e8d6be5a17f211 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 18 Oct 2009 23:07:32 +0000 Subject: * Fix admin log messages + admin command message outputs appearing in the wrong order in console --- src/game/g_admin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 850d556e..65ce22f0 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -852,13 +852,13 @@ qboolean G_admin_cmd_check( gentity_t *ent, qboolean say ) // flooding say will have already been accounted for in ClientCommand if( !say && G_FloodLimited( ent ) ) return qtrue; - trap_SendConsoleCommand( EXEC_APPEND, c->exec ); admin_log( ent, cmd, skip ); + trap_SendConsoleCommand( EXEC_APPEND, c->exec ); } else { - ADMP( va( "^3!%s: ^7permission denied\n", c->command ) ); admin_log( ent, S_COLOR_RED "attempted" S_COLOR_WHITE, skip - 1 ); + ADMP( va( "^3!%s: ^7permission denied\n", c->command ) ); } return qtrue; } @@ -870,8 +870,8 @@ qboolean G_admin_cmd_check( gentity_t *ent, qboolean say ) // flooding say will have already been accounted for in ClientCommand if( !say && G_FloodLimited( ent ) ) return qtrue; - admincmd->handler( ent, skip ); admin_log( ent, cmd, skip ); + admincmd->handler( ent, skip ); } else { -- cgit