summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_admin.c2
-rw-r--r--src/game/g_admin.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index a4006ea..c38f6de 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -4679,7 +4679,7 @@ 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 ) )
+ 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 ) );
}
diff --git a/src/game/g_admin.h b/src/game/g_admin.h
index 177d7e3..3b94644 100644
--- a/src/game/g_admin.h
+++ b/src/game/g_admin.h
@@ -104,6 +104,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ADMF_NO_BUILD ".NOBUILD"
#define ADMF_NO_CHAT ".NOCHAT"
#define ADMF_NO_VOTE ".NOVOTE"
+#define ADMF_FAKE_NO_VOTE ".FAKENOVOTE"
#define MAX_ADMIN_LISTITEMS 20
#define MAX_ADMIN_SHOWBANS 10