From 89d747cd4b6c0cdbb004549496c51349485eacac Mon Sep 17 00:00:00 2001 From: Gandalf Date: Wed, 19 May 2021 19:18:47 +0100 Subject: [PATCH] a --- code/modules/admin/verbs/deadsay.dm | 6 ------ code/modules/mob/mob_say.dm | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/modules/admin/verbs/deadsay.dm b/code/modules/admin/verbs/deadsay.dm index 78ed4739fd5..ef0f314739a 100644 --- a/code/modules/admin/verbs/deadsay.dm +++ b/code/modules/admin/verbs/deadsay.dm @@ -11,12 +11,6 @@ to_chat(src, "You cannot send DSAY messages (muted).", confidential = TRUE) return - //SKYRAT EDIT ADDITION - if(!GLOB.dchat_allowed && !check_rights(R_ADMIN, FALSE)) - to_chat(src, "Dead chat is currently muted.") - return - //SKYRAT EDIT END - if (handle_spam_prevention(msg,MUTE_DEADCHAT)) return diff --git a/code/modules/mob/mob_say.dm b/code/modules/mob/mob_say.dm index e375abaf22f..018d334b7e9 100644 --- a/code/modules/mob/mob_say.dm +++ b/code/modules/mob/mob_say.dm @@ -56,6 +56,12 @@ to_chat(usr, "Speech is currently admin-disabled.") return + //SKYRAT EDIT ADDITION + if(!GLOB.dchat_allowed && !check_rights(R_ADMIN, FALSE) + to_chat(src, "Dead chat is currently muted.") + return + //SKYRAT EDIT END + var/jb = is_banned_from(ckey, "Deadchat") if(QDELETED(src)) return