Stop double-sanitization of muffled emotes

Fixes #6073
This commit is contained in:
Meghan-Rossi
2019-10-17 18:27:30 +01:00
parent cabd4dddab
commit e0cb0e9875

View File

@@ -22,12 +22,13 @@
usr << "<font color='red'>Speech is currently admin-disabled.</font>" usr << "<font color='red'>Speech is currently admin-disabled.</font>"
return 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) set_typing_indicator(FALSE)
//VOREStation Edit Start //VOREStation Edit Start
if(muffled) if(muffled)
return me_verb_subtle(message) return me_verb_subtle(message)
message = sanitize_or_reflect(message,src) //VOREStation Edit - Reflect too-long messages (within reason)
//VOREStation Edit End //VOREStation Edit End
if(use_me) if(use_me)
usr.emote("me",usr.emote_type,message) usr.emote("me",usr.emote_type,message)