summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-21 15:05:30 +0100
committerenneract <trem.redman@gmail.com>2014-12-21 15:05:30 +0100
commit2d3a3188cbd98a3adb4d7dce84f58c59decd488c (patch)
treea10e52d9d28eb84c8d3b27df91cdaf6a706587f0 /src/game/g_admin.c
parent532ef8f6d132494203caecc8b8007f741d2c6759 (diff)
Let admins with /flag modify admin levels.
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index eda8420..80dcc49 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -4247,13 +4247,6 @@ qboolean G_admin_flag( gentity_t *ent )
trap_Argv( 1, name, sizeof( name ) );
if( name[ 0 ] == '*' )
{
- if( ent )
- {
- ADMP( va( "^3%s: only console can change admin level flags\n",
- command ) );
- return qfalse;
- }
-
id = atoi( name + 1 );
level = G_admin_level( id );
if( !level )