diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index f12ffc1903..9ac7b81b09 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -841,7 +841,7 @@ if(istext(mute_type)) mute_type = text2num(mute_type) if(!isnum(mute_type)) return - cmd_admin_mute(M, mute_type, usr) + cmd_admin_mute(M, mute_type, FALSE, usr) else if(href_list["c_mode"]) if(!check_rights(R_ADMIN|R_EVENT)) return diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 7b8182ffca..71f0efcb70 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -159,7 +159,7 @@ ADMIN_VERB_AND_CONTEXT_MENU(cmd_admin_godmode, R_HOLDER, "Toggle Godmode", "Togg admin_ticket_log(target_mob, msg) feedback_add_details("admin_verb","GOD_ENABLE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! -/proc/cmd_admin_mute(mob/target, mute_type, automute = 0, mob/user) +/proc/cmd_admin_mute(mob/target, mute_type, automute = FALSE, mob/user) if(automute) if(!CONFIG_GET(flag/automute_on)) return diff --git a/code/modules/client/spam_prevention.dm b/code/modules/client/spam_prevention.dm index 70e13361b1..6cdab34798 100644 --- a/code/modules/client/spam_prevention.dm +++ b/code/modules/client/spam_prevention.dm @@ -7,7 +7,7 @@ if(world.time - last_message_time < spam_delay) spam_alert++ if(spam_alert > 5) - cmd_admin_mute(src.mob, mute_type, 1) + cmd_admin_mute(src.mob, mute_type, TRUE) else spam_alert = max(0, spam_alert--) last_message_time = world.time