diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-18 23:07:32 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:56 +0000 |
commit | 189b9daf077e572eaf6573cbf5e8d6be5a17f211 (patch) | |
tree | 9391f4f5db8c6cb4c70413fa0afdf1e141460dbd /src/game/g_admin.c | |
parent | d1d5e8faf358302d490abe17f369c0366d5e29b2 (diff) |
* Fix admin log messages + admin command message outputs appearing in the wrong order in console
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |