mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Makes deadchat control inputs bypass automute. (#65195)
* Makes deadchat control inputs bypass automute. It's slightly annoying when you get muted because you spent a minute trying to get the supermatter to move down.
This commit is contained in:
@@ -166,6 +166,9 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
|
||||
|
||||
if(CONFIG_GET(flag/automute_on) && !holder && last_message == message)
|
||||
if(SEND_SIGNAL(mob, COMSIG_MOB_AUTOMUTE_CHECK, src, last_message, mute_type) & WAIVE_AUTOMUTE_CHECK)
|
||||
return FALSE
|
||||
|
||||
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. A mute was automatically applied for the current round. Contact admins to request its removal."))
|
||||
|
||||
Reference in New Issue
Block a user