From ada8ad0eade9c97ac0c8fd3892bb6cb69c6efb11 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 3 Nov 2017 18:30:41 -0200 Subject: [PATCH 1/2] Proper and improper macros are removed before sending to irc (#32347) * Proper and improper macros are removed before sending to irc * Removes leftover check --- code/modules/admin/verbs/adminhelp.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 0135bfbfa0..2f059d1829 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -609,8 +609,9 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) /proc/send2irc(msg,msg2) - if(SERVER_TOOLS_PRESENT) - SERVER_TOOLS_RELAY_BROADCAST("[msg] | [msg2]") + msg = replacetext(replacetext(msg, "\proper", ""), "\improper", "") + msg2 = replacetext(replacetext(msg2, "\proper", ""), "\improper", "") + SERVER_TOOLS_RELAY_BROADCAST("[msg] | [msg2]") /proc/send2otherserver(source,msg,type = "Ahelp") var/comms_key = CONFIG_GET(string/comms_key)