diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index c6e864e8b89..642e7003c2b 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -47,6 +47,15 @@ var/global/floorIsLava = 0 body += "Ban | " body += "Jobban | " body += "Identity Ban | " + if(jobban_isbanned(M, "OOC")) + body+= "OOCBan | " + else + body+= "OOCBan | " + if(jobban_isbanned(M, "emote")) + body+= "EmoteBan | " + else + body+= "Emoteban | " + body += "Notes | " if(M.client) if(M.client.check_watchlist(M.client.ckey)) @@ -66,11 +75,6 @@ var/global/floorIsLava = 0 body += "DEADCHAT\]" body += "(toggle all)" - if(jobban_isbanned(M, "OOC")) - body+= "OOCBAN | " - else - body+= "OOCBAN | " - body += "

" body += "Jump to | " body += "Get | " diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 2ab52c617ef..8f9cd656c93 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -72,6 +72,13 @@ m_type = 2 if ("custom") + 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)." + return var/input = copytext(sanitize(input("Choose an emote to display.") as text|null),1,MAX_MESSAGE_LEN) if (!input) return diff --git a/code/modules/mob/living/emote.dm b/code/modules/mob/living/emote.dm index a3092fb9228..094ed866db3 100644 --- a/code/modules/mob/living/emote.dm +++ b/code/modules/mob/living/emote.dm @@ -144,6 +144,9 @@ m_type = 1 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)." diff --git a/code/modules/mob/living/silicon/robot/emote.dm b/code/modules/mob/living/silicon/robot/emote.dm index 4280be744bc..5d972a4385f 100644 --- a/code/modules/mob/living/silicon/robot/emote.dm +++ b/code/modules/mob/living/silicon/robot/emote.dm @@ -79,6 +79,13 @@ m_type = 2 if ("custom") + 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)." + return var/input = copytext(sanitize(input("Choose an emote to display.") as text|null),1,MAX_MESSAGE_LEN) if (!input) return