diff options
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 0fbac12..bee9294 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -4605,6 +4605,9 @@ qboolean G_admin_say_area( gentity_t *ent ) return qfalse; } + if( ent->client->pers.namelog->muted ) + return qfalse; + msg = ConcatArgs( 1 ); for(i = 0; i < 3; i++ ) @@ -4648,6 +4651,9 @@ qboolean G_admin_say( gentity_t *ent ) if( trap_Argc( ) < 2 ) return qfalse; + if( ent->client->pers.namelog->muted ) + return qfalse; + trap_Argv( 0, cmd, sizeof( cmd ) ); if( Q_stricmp( cmd, "say_team" ) == 0 ) mode = SAY_TEAM; @@ -4808,6 +4814,9 @@ qboolean G_admin_m( gentity_t *ent ) return qfalse; } + if( ent->client->pers.namelog->muted ) + return qfalse; + if( !Q_stricmp( cmd, "mt" ) ) teamonly = qtrue; |