summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_admin.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 37df6fe..7635b86 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -5747,11 +5747,8 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg )
Q_strncpyz( guidless, "G", sizeof( guidless ) );
}
muted[ 0 ] = '\0';
- if( G_admin_permission( &g_entities[ i ], ADMF_NO_VOTE ) )
- {
- Q_strncpyz( muted, "V", sizeof( muted ) );
- }
- if( G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) )
+ if( G_admin_permission( &g_entities[ i ], ADMF_NO_VOTE )
+ || G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) )
{
Q_strncpyz( muted, "V", sizeof( muted ) );
}