Merge pull request #6890 from Citadel-Station-13/upstream-merge-38052

[MIRROR] Fixes accidental empty ahelp replies
This commit is contained in:
LetterJay
2018-05-25 22:51:51 -05:00
committed by GitHub
+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)