summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClaw <louie.nutman@gmail.com>2019-10-04 20:38:11 +0000
committerIronClaw <louie.nutman@gmail.com>2019-10-04 20:38:11 +0000
commita4753e7f5931b7e8dee7c7b01206a8685449200f (patch)
tree12c32798a27a0c70f630f3819eae59e07962f31c /src
parentb4c34ec9c6c8ee7448c122848c1e5437ceb51e99 (diff)
.FAKENOVOTE flag
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c4
-rw-r--r--src/game/g_admin.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index bec9370..37df6fe 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -5751,6 +5751,10 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg )
{
Q_strncpyz( muted, "V", sizeof( muted ) );
}
+ if( G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) )
+ {
+ Q_strncpyz( muted, "V", sizeof( muted ) );
+ }
if( p->pers.muted )
{
Q_strncpyz( muted, "M", sizeof( muted ) );
diff --git a/src/game/g_admin.h b/src/game/g_admin.h
index b2ac338..042fc22 100644
--- a/src/game/g_admin.h
+++ b/src/game/g_admin.h
@@ -108,6 +108,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ADMF_NO_CHAT ".NOCHAT"
#define ADMF_NO_VOTE ".NOVOTE"
+#define ADMF_FAKE_NO_VOTE ".FAKENOVOTE"
#define ADMF_NOAUTOBAHN "NOAUTOBAHN"