From 384a437188dbcde638eed0d035e010ef2b065004 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 21 Feb 2022 13:18:00 +0100 Subject: [PATCH] [MIRROR] Make the repeated messages spam filter give a clearer warning [MDB IGNORE] (#11636) * Make the repeated messages spam filter give a clearer warning (#65029) Co-authored-by: Jeremiah <42397676+jlsnow301@ users.noreply.github.com> * Make the repeated messages spam filter give a clearer warning Co-authored-by: Kyle Spier-Swenson Co-authored-by: Jeremiah <42397676+jlsnow301@ users.noreply.github.com> --- code/modules/client/client_procs.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index f0dc121b8be..f32a95e17f2 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -172,11 +172,12 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( if(CONFIG_GET(flag/automute_on) && !holder && last_message == message) src.last_message_count++ if(src.last_message_count >= SPAM_TRIGGER_AUTOMUTE) - to_chat(src, span_danger("You have exceeded the spam filter limit for identical messages. An auto-mute was applied.")) + to_chat(src, span_danger("You have exceeded the spam filter limit for identical messages. A mute was automatically applied for the current round. Contact admins to request its removal.")) cmd_admin_mute(src, mute_type, 1) return TRUE if(src.last_message_count >= SPAM_TRIGGER_WARNING) - to_chat(src, span_danger("You are nearing the spam filter limit for identical messages.")) + //"auto-ban" sends the message that the cold and uncaring gamecode has been designed to quiash you like a bug in short measure should you continue, and it's quite intentional that the user isn't told exactly what that entails. + to_chat(src, span_danger("You are nearing the auto-ban limit for identical messages.")) return FALSE else last_message = message