From c0f1b875d050e374af6c26e44a8473ec279fe129 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 29 Nov 2022 19:36:09 -0600 Subject: [PATCH] chat: ratelimit chat lol apparently we haven't done that xdd --- files/routes/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/chat.py b/files/routes/chat.py index 62158e1d9..399d47ded 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -49,6 +49,7 @@ def chat(v): @is_not_permabanned @ratelimit_user("3/second;10/minute") def speak(data, v): + limiter.check() if v.is_banned: return '', 403 if TRUESCORE_CHAT_MINIMUM and v.truescore < TRUESCORE_CHAT_MINIMUM and not v.club_allowed: return '', 403