summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorMaeJong <mewiceclair@gmail.com>2017-04-18 23:47:33 +0200
committerMaeJong <mewiceclair@gmail.com>2017-04-18 23:47:33 +0200
commitb8db90f6dbf6c894ebc1bfccbbf61fdb27025bc1 (patch)
tree5b267d39d0c4cf0ec6651384a4a5698fac9901ee /src/game/g_admin.c
parentfb1c012ae1dfb56a1393e20571c2faf1f271a817 (diff)
Implement g_reportAdminListMinLvl
Specifies the minimum level needed for a player's name to be written in the "admins" field in reports. Defaults to 4
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 365229f..c5f18d3 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -9259,7 +9259,7 @@ qboolean G_admin_report( gentity_t *ent, int skiparg )
{
vic = &g_entities[ i ];
- if( G_admin_level( vic ) >= 3 )
+ if( G_admin_level( vic ) >= g_reportAdminListMinLvl )
{
Q_strcat( admins, sizeof(admins), va( "%s^7 ", G_admin_get_adminname( vic ) ) );
}