mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Makes emote bans actually work
This commit is contained in:
@@ -196,6 +196,9 @@
|
||||
if ("me")
|
||||
if(silent)
|
||||
return
|
||||
if(jobban_isbanned(src, "emote"))
|
||||
src << "You cannot send custom emotes (banned)"
|
||||
return
|
||||
if (src.client)
|
||||
if (client.prefs.muted & MUTE_IC)
|
||||
src << "<span class='danger'>You cannot send IC messages (muted).</span>"
|
||||
|
||||
@@ -142,6 +142,9 @@
|
||||
message = "<B>[src]</B> looks."
|
||||
|
||||
if ("me")
|
||||
if(jobban_isbanned(src, "emote"))
|
||||
src << "You cannot send custom emotes (banned)"
|
||||
return
|
||||
if (src.client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
src << "You cannot send IC messages (muted)."
|
||||
|
||||
Reference in New Issue
Block a user