summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 34740958..071a8441 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1263,7 +1263,7 @@ char *ClientConnect( int clientNum, qboolean firstTime )
// check for local client
if( !strcmp( client->pers.ip, "localhost" ) )
client->pers.localClient = qtrue;
- client->pers.adminLevel = G_admin_level( ent );
+ client->pers.admin = G_admin_admin( client->pers.guid );
client->pers.connected = CON_CONNECTING;