From e0cb0e98759792f8569a9d379cdba07b479da9bb Mon Sep 17 00:00:00 2001 From: Meghan-Rossi <56671765+Meghan-Rossi@users.noreply.github.com> Date: Thu, 17 Oct 2019 18:27:30 +0100 Subject: [PATCH] Stop double-sanitization of muffled emotes Fixes #6073 --- code/modules/mob/say.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index f38cf5f1c1..d14acc6399 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -22,12 +22,13 @@ usr << "Speech is currently admin-disabled." return - message = sanitize_or_reflect(message,src) //VOREStation Edit - Reflect too-long messages (within reason) + //message = sanitize(message) //VOREStation removal - moving this to after muffled check to avoid double-sanitization problems. set_typing_indicator(FALSE) //VOREStation Edit Start if(muffled) return me_verb_subtle(message) + message = sanitize_or_reflect(message,src) //VOREStation Edit - Reflect too-long messages (within reason) //VOREStation Edit End if(use_me) usr.emote("me",usr.emote_type,message)