summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_admin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 5e987ce..f29265d 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -5075,7 +5075,9 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg )
{
// don't gather aka or level info if the admin is incognito
- if( ent && G_admin_permission( &g_entities[ i ], ADMF_INCOGNITO ) && !G_admin_permission(ent, ADMF_SEESINCOGNITO) )
+ if( ent && G_admin_permission( &g_entities[ i ], ADMF_INCOGNITO )
+ && !G_admin_permission(ent, ADMF_SEESINCOGNITO)
+ && ( &g_entities[ i ] != ent ) )
{
break;
}