Easier stripping of admin private information from public logs (#24222)

A new admin log proc, admin_log_private that appends a different prefix,
to make it easy to filter the logs that are shown publically
This commit is contained in:
oranges
2017-02-21 10:56:25 +01:00
committed by AnturK
parent ba1e4f2f33
commit cd1e9ea6c8
7 changed files with 35 additions and 29 deletions
+2 -2
View File
@@ -124,7 +124,7 @@
//send it to irc if nobody is on and tell us how many were on
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.")
log_admin_private("HELP: [key_name(src)]: [original_msg] - heard by [admin_number_present] non-AFK admins who have +BAN.")
if(admin_number_present <= 0)
src << "<span class='notice'>No active admins are online, your adminhelp was sent to the admin irc.</span>"
feedback_add_details("admin_verb","AH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -191,4 +191,4 @@
else
message += "[admin]"
return jointext(message, "")
return jointext(message, "")