Merge pull request #359 from VOREStation/votemute

Disallows global OOC while voting
This commit is contained in:
Spades
2016-06-14 17:35:39 -04:00
committed by GitHub
+3
View File
@@ -34,6 +34,9 @@
log_admin("[key_name(src)] has attempted to advertise in OOC: [msg]")
message_admins("[key_name_admin(src)] has attempted to advertise in OOC: [msg]")
return
if(vote && vote.mode)
src << "<span class='danger'>OOC is not allowed during voting.</span>"
return
log_ooc("[mob.name]/[key] : [msg]")