From 380b53ddc5172be829b7d6f21f6118d4dcc7feec Mon Sep 17 00:00:00 2001 From: BotoX Date: Fri, 13 Apr 2018 22:21:36 +0200 Subject: [PATCH] Block gagged players from nominating --- mapchooser_extended/scripting/nominations_extended.sp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mapchooser_extended/scripting/nominations_extended.sp b/mapchooser_extended/scripting/nominations_extended.sp index 6a9fa348..94d36e06 100644 --- a/mapchooser_extended/scripting/nominations_extended.sp +++ b/mapchooser_extended/scripting/nominations_extended.sp @@ -39,6 +39,7 @@ #include #include #include +#include #define MCE_VERSION "1.13.0" @@ -846,6 +847,9 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p stock bool IsNominateAllowed(int client) { + if(BaseComm_IsClientGagged(client)) + return false; + CanNominateResult result = CanNominate(); switch(result)