summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 306ae30..f9f40cb 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -865,8 +865,8 @@ static void admin_log_abort( void )
static void admin_log_end( const qboolean ok )
{
- if( adminLog[ 0 ] )
- G_LogPrintf( "AdminExec: %s: %s\n", ok ? "ok" : "fail", adminLog );
+ if( adminLog[ 0 ] && !ok )
+ G_LogPrintf( "AdminExec: fail: %s\n", adminLog );
admin_log_abort( );
}