Fixed ahelp exploit + ported some emotes

You should no longer be able to send formatted html in ahelps, this means no more images for now, sadly.
- added speen
- added cackle
- moved all extra emotes to one file
This commit is contained in:
BongaTheProto
2021-11-26 22:49:54 -05:00
parent 02e083ce2f
commit 2087ed552f
6 changed files with 61 additions and 13 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
//message from the initiator without a target, all admins will see this
//won't bug irc
/datum/admin_help/proc/MessageNoRecipient(msg)
msg = copytext_char(msg, 1, MAX_MESSAGE_LEN)
msg = copytext_char(sanitize(msg), 1, MAX_MESSAGE_LEN)
var/ref_src = "[REF(src)]"
//Message to be sent to all admins
var/admin_msg = "<span class='adminnotice'><span class='adminhelp'>Ticket [TicketHref("#[id]", ref_src)]</span><b>: [LinkedReplyName(ref_src)] [FullMonty(ref_src)]:</b> <span class='linkify'>[keywords_lookup(msg)]</span></span>"