diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 4e64c5222b3..44489a8da01 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -195,12 +195,12 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) * Call this on its own to create a ticket, don't manually assign current_ticket * * Arguments: - * * msg - The title of the ticket: usually the ahelp text + * * msg_raw - The first message of this admin_help: used for the initial title of the ticket * * is_bwoink - Boolean operator, TRUE if this ticket was started by an admin PM */ -/datum/admin_help/New(msg, client/C, is_bwoink, client/admin_C) //SKYRAT EDIT CHANGE +/datum/admin_help/New(msg_raw, client/C, is_bwoink, client/admin_C) //SKYRAT EDIT CHANGE //clean the input msg - msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN)) + var/msg = sanitize(copytext_char(msg_raw, 1, MAX_MESSAGE_LEN)) if(!msg || !C || !C.mob) qdel(src) return @@ -235,7 +235,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) AddInteractionPlayer("[key_name_admin(usr, FALSE)] PM'd [LinkedReplyName()]") // SKYRAT EDIT ADDITION -- Player ticket viewing message_admins("Ticket [TicketHref("#[id]")] created") else - MessageNoRecipient(msg) + MessageNoRecipient(msg_raw) //send it to TGS if nobody is on and tell us how many were on var/admin_number_present = send2tgs_adminless_only(initiator_ckey, "Ticket #[id]: [msg]")