mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
Merge pull request #359 from VOREStation/votemute
Disallows global OOC while voting
This commit is contained in:
@@ -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]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user