Removed empty message check from can_speak

This commit is contained in:
spasticVerbalizer
2015-06-08 20:43:56 +02:00
parent 53d5ff4f39
commit 7c1498dd6c
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
return
var/message = copytext(sanitize(input(user, "Shout a message?", "Megaphone", null) as text),1,MAX_MESSAGE_LEN)
if(!message)
if(!message || message == "")
return
message = capitalize(message)
@@ -1,6 +1,8 @@
/mob/living/carbon/human/whisper(message as text)
if(!IsVocal())
return
if(!message || message == "")
return
if(say_disabled) //This is here to try to identify lag problems
usr << "<span class='danger'>Speech is currently admin-disabled.</span>"
-3
View File
@@ -162,9 +162,6 @@ var/list/department_radio_keys = list(
return 1
/mob/living/proc/can_speak_basic(message) //Check BEFORE handling of xeno and ling channels
if(!message || message == "")
return 0
if(client)
if(client.prefs.muted & MUTE_IC)
src << "<span class='danger'>You cannot speak in IC (muted).</span>"