diff options
-rw-r--r-- | src/game/g_admin.c | 4 | ||||
-rw-r--r-- | src/game/g_svcmds.c | 1 |
2 files changed, 2 insertions, 3 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( ); } diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c index 18f0fdf..c9dd825 100644 --- a/src/game/g_svcmds.c +++ b/src/game/g_svcmds.c @@ -647,7 +647,6 @@ struct svcmd { "listmaps", qtrue, Svcmd_ListMapsWrapper }, { "listemoticons", qtrue, Svcmd_ListEmoticonsWrapper }, { "loadcensors", qfalse, G_LoadCensors }, - { "m", qtrue, Svcmd_MessageWrapper }, { "maplog", qtrue, Svcmd_MapLogWrapper }, { "mapRotation", qfalse, Svcmd_MapRotation_f }, { "pr", qfalse, Svcmd_Pr_f }, |