From bc038757bdcabef14f86ad05a0bca5ab484ff107 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Mon, 22 Dec 2025 02:24:58 +0100 Subject: [PATCH] skip limits for chunked messages (#18927) * skip limits for chunked messages * . --- code/modules/client/client procs.dm | 4 ++-- code/modules/tgui/external.dm | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 333873c360e..1d71c589614 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -60,7 +60,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( // Rate limiting var/mtl = CONFIG_GET(number/minute_topic_limit) - if(href_list["window_id"] != "statbrowser") //Deviation from TG. Our statbrowser has so many commands that logging in as a borg can cause it to rate limit you. This needs fixing eventually. + if(!bypass_topic_limit(href_list)) if (!check_rights_for(src, R_HOLDER) && mtl) var/minute = round(world.time, 600) if (!topiclimiter) @@ -94,7 +94,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( return //search the href for script injection - if( findtext(href,"