diff --git a/code/modules/mob/living/carbon/human/say.dm b/code/modules/mob/living/carbon/human/say.dm index 9173a4af88..8103d3f950 100644 --- a/code/modules/mob/living/carbon/human/say.dm +++ b/code/modules/mob/living/carbon/human/say.dm @@ -9,6 +9,8 @@ src << "\red You cannot speak in IC (Muted)." return + message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN)) + if(stat == 2) return say_dead(message) diff --git a/code/modules/mob/living/silicon/say.dm b/code/modules/mob/living/silicon/say.dm index 1205965b10..8a3da816dc 100644 --- a/code/modules/mob/living/silicon/say.dm +++ b/code/modules/mob/living/silicon/say.dm @@ -23,8 +23,9 @@ if (src.client.handle_spam_prevention(message,MUTE_IC)) return + message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN)) + if (stat == 2) - message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN)) return say_dead(message) if(copytext(message,1,2) == "*")