Fixes accidental empty ahelp replies (#38052)

This commit is contained in:
Dax Dupont
2018-05-25 16:35:21 +02:00
committed by letterjay
parent cc088d9113
commit 6ecadf6d93
+5 -3
View File
@@ -109,10 +109,12 @@
if(!recipient)
if(holder)
to_chat(src, "<font color='red'>Error: Admin-PM: Client not found.</font>")
to_chat(src, msg)
else
if(msg)
to_chat(src, msg)
return
else if(msg) // you want to continue if there's no message instead of returning now
current_ticket.MessageNoRecipient(msg)
return
return
//get message text, limit it's length.and clean/escape html
if(!msg)