From 90e46f35bb74999d0409212eea069dd1680abbe2 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Tue, 3 Mar 2015 04:05:08 -0800 Subject: [PATCH] Fixes irc alerts of adminhelps not showing the ckey Also fixes irc alerts of new players having the source split up in the announcement messages --- code/modules/admin/verbs/adminhelp.dm | 2 +- code/modules/client/client procs.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 7d6dd693e86..52524559573 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -99,7 +99,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey"," src << "PM to-Admins: [original_msg]" //send it to irc if nobody is on and tell us how many were on - var/admin_number_present = send2irc_adminless_only(original_msg) + var/admin_number_present = send2irc_adminless_only(ckey,original_msg) log_admin("HELP: [key_name(src)]: [original_msg] - heard by [admin_number_present] non-AFK admins who have +BAN.") feedback_add_details("admin_verb","AH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! return diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index ccb94c8974c..b037d3ad926 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -149,7 +149,7 @@ var/next_external_rsc = 0 if (config.notify_new_player_age >= 0) message_admins("New user: [key_name_admin(src)] is connecting here for the first time.") if (config.irc_first_connection_alert) - send2irc_adminless_only("New user", "[key_name(src)] is connecting for the first time!") + send2irc_adminless_only("New-user", "[key_name(src)] is connecting for the first time!") player_age = 0 // set it from -1 to 0 so the job selection code doesn't have a panic attack