diff options
author | MaeJong <mewiceclair@gmail.com> | 2017-05-02 18:36:16 +0200 |
---|---|---|
committer | MaeJong <mewiceclair@gmail.com> | 2017-05-02 18:36:16 +0200 |
commit | f6bb5ea062f5ff3d83fc9e73e20487d7f7334c04 (patch) | |
tree | d44fa09527e1995b7d658bb201398930dc2126e7 /src/game/g_svcmds.c | |
parent | 3bdef682e03faf52a4eec10af06960ec4b467af5 (diff) |
Implement high admin chat
The channel is accessible to anyone who has the flag HIGHADMINCHAT, via
/say_hadmins or /ha
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r-- | src/game/g_svcmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c index c4ce182..66a7c6a 100644 --- a/src/game/g_svcmds.c +++ b/src/game/g_svcmds.c @@ -764,6 +764,11 @@ qboolean ConsoleCommand( void ) G_Say( NULL, NULL, SAY_ADMINS, ConcatArgs( 1 ) ); return qtrue; } + else if( !Q_stricmp( cmd, "ha" ) || !Q_stricmp( cmd, "say_hadmins" )) + { + G_Say( NULL, NULL, SAY_HADMINS, ConcatArgs( 1 ) ); + return qtrue; + } G_Printf( "unknown command: %s\n", cmd ); return qtrue; |