summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
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 7363a1a..79dfb71 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -9611,7 +9611,7 @@ qboolean G_admin_rban( gentity_t *ent, int skiparg )
report = g_admin_reports[ ID - 1 ];
if( admin_guid_to_level( ent->client->pers.guid ) <
- admin_guid_to_level( g_admin_reports[ ID ]->guid ) )
+ admin_guid_to_level( report->guid ) )
{
ADMP( "Your target has a higher admin level than you." );
return qfalse;