mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Moves sanitize(message) up a level for now.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user