Moves sanitize(message) up a level for now.

This commit is contained in:
PsiOmega
2015-03-29 13:51:19 +02:00
parent 1a000b0e0f
commit 23bbbb7e4c
3 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
src << "<span class='danger'>You're muzzled and cannot speak!</span>" src << "<span class='danger'>You're muzzled and cannot speak!</span>"
return return
message = sanitize(message)
..(message, alt_name = alt_name) //ohgod we should really be passing a datum here. ..(message, alt_name = alt_name) //ohgod we should really be passing a datum here.
/mob/living/carbon/human/proc/forcesay(list/append) /mob/living/carbon/human/proc/forcesay(list/append)

View File

@@ -130,8 +130,6 @@ proc/get_radio_key_from_channel(var/channel)
src << "\red You cannot speak in IC (Muted)." src << "\red You cannot speak in IC (Muted)."
return return
message = sanitize(message)
if(stat) if(stat)
if(stat == 2) if(stat == 2)
return say_dead(message) return say_dead(message)

View File

@@ -364,6 +364,8 @@
if(speak_emote.len) if(speak_emote.len)
verb = pick(speak_emote) verb = pick(speak_emote)
message = sanitize(message)
..(message, null, verb) ..(message, null, verb)
/mob/living/simple_animal/get_speech_ending(verb, var/ending) /mob/living/simple_animal/get_speech_ending(verb, var/ending)