Merge pull request #4756 from CHOMPStation2/upstream-merge-13548

[MIRROR] Prevents embedding of phishing links in debug logs
This commit is contained in:
Nadyr
2022-08-28 18:55:59 -04:00
committed by GitHub
+1 -1
View File
@@ -37,7 +37,7 @@
/proc/log_debug(text)
if (config.log_debug)
WRITE_LOG(debug_log, "DEBUG: [text]")
WRITE_LOG(debug_log, "DEBUG: [sanitize(text)]")
for(var/client/C in GLOB.admins)
if(C.is_preference_enabled(/datum/client_preference/debug/show_debug_logs))