Fixes accidental empty ahelp replies (#38052)

This commit is contained in:
Dax Dupont
2018-05-25 16:35:21 +02:00
committed by vuonojenmustaturska
parent 732f39e409
commit 5c7af29fae
+5 -3
View File
@@ -103,10 +103,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)