From 69b93c3e2a94a71c31f1a7e8280fd99e19845538 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 14 Feb 2015 16:34:53 +0100 Subject: Move all chat-related commands to the admin system. --- src/game/g_svcmds.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game/g_svcmds.c') diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c index a54a9ad..18f0fdf 100644 --- a/src/game/g_svcmds.c +++ b/src/game/g_svcmds.c @@ -515,8 +515,6 @@ static void Svcmd_MessageWrapper( void ) if( !Q_stricmp( cmd, "a" ) ) Cmd_AdminMessage_f( NULL ); - else if( !Q_stricmp( cmd, "m" ) ) - Cmd_PrivateMessage_f( NULL ); else if( !Q_stricmp( cmd, "say" ) ) G_Say( NULL, SAY_ALL, ConcatArgs( 1 ) ); else if( !Q_stricmp( cmd, "chat" ) ) -- cgit From 36c01fd8d8d708debb96136eec28b29c2a63fdbd Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 14 Feb 2015 17:00:13 +0100 Subject: Fix console being unable to send PMs. Remove logging of successful admin commands. --- src/game/g_svcmds.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/g_svcmds.c') 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 }, -- cgit