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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 2b26b6be..43b76fa0 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -1109,7 +1109,8 @@ qboolean G_admin_readconfig( gentity_t *ent )
{
level.clients[ i ].pers.admin =
G_admin_admin( level.clients[ i ].pers.guid );
- G_admin_authlog( &g_entities[ i ] );
+ if( level.clients[ i ].pers.admin )
+ G_admin_authlog( &g_entities[ i ] );
G_admin_cmdlist( &g_entities[ i ] );
}
}