[MIRROR] Log filters better, including the message [MDB IGNORE] (#12233)

* Log filters better (#65539)

* Log filters better, including the message

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-03-22 20:47:13 -07:00
committed by GitHub
co-authored by Mothblocks
parent 38cd1b319a
commit fd91b9929b
7 changed files with 17 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
var/list/filter_result = is_ooc_filtered(msg)
if (!CAN_BYPASS_FILTER(usr) && filter_result)
REPORT_CHAT_FILTER_TO_USER(usr, filter_result)
log_filter("OOC", msg, filter_result)
return
// Protect filter bypassers from themselves.