From 09cde74a38d7f8031292c3a42f36c1d82b2ffb52 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 8 Apr 2024 06:53:03 +0200 Subject: [PATCH] remove "private chat" parameter --- files/helpers/config/const.py | 2 -- files/routes/chat.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 7ff472c90..ed484a932 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -553,7 +553,6 @@ NOTIFICATION_SPAM_AGE_THRESHOLD = 0 COMMENT_SPAM_LENGTH_THRESHOLD = 0 DEFAULT_UNDER_SIEGE_THRESHOLDS = { - "private chat": 0, "chat": 0, "normal comment": 0, "wall comment": 0, @@ -810,7 +809,6 @@ elif SITE in {'watchpeopledie.tv', 'marsey.world'}: } DEFAULT_UNDER_SIEGE_THRESHOLDS = { - "private chat": 1440, "chat": 1440, "normal comment": 10, "wall comment": 1440, diff --git a/files/routes/chat.py b/files/routes/chat.py index 31fb69f24..49255f780 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -129,7 +129,7 @@ def speak(data, v): emit('speak', data) return '' - execute_under_siege(v, None, text, "private chat") + execute_under_siege(v, None, text, "chat") quotes = data['quotes'] if quotes: quotes = int(quotes)