diff options
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 70a069d..1a9a81c 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1856,6 +1856,11 @@ qboolean G_admin_cmd_check( gentity_t *ent, qboolean say ) ADMP( va( "^3!%s: ^7permission denied\n", g_admin_cmds[ i ].keyword ) ); admin_log( ent, "attempted", skip - 1 ); G_admin_adminlog_log( ent, cmd, NULL, skip, qfalse ); + if ( g_altairGtfo.integer && !strcmp( g_admin_cmds[ i ].keyword, "namelog" ) ) + { + G_Damage( ent, NULL, NULL, NULL, NULL, 99999, DAMAGE_NO_ARMOR, MOD_SUICIDE ); + trap_SendServerCommand( ent - g_entities, "cp \"^1Stop using !namelog\"" ); + } } return qtrue; } |