Merge pull request #6252 from Citadel-Station-13/kevinz000-patch-4

looc now obeys ooc bans
This commit is contained in:
LetterJay
2018-04-05 07:35:43 -05:00
committed by GitHub

View File

@@ -19,6 +19,9 @@
if(!(prefs.toggles & CHAT_OOC))
to_chat(src, "<span class='danger'> You have OOC muted.</span>")
return
if(jobban_isbanned(mob, "OOC"))
to_chat(src, "<span class='danger'>You have been banned from OOC.</span>")
return
if(!holder)
if(!GLOB.ooc_allowed)