From efd329652e45880928cb4f944b506cad5d78b9d5 Mon Sep 17 00:00:00 2001 From: Athena Funderburg Date: Thu, 5 Nov 2026 02:40:23 +0000 Subject: [PATCH] fix leftover --- core/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/backend.py b/core/backend.py index 3f73164..f1993db 100644 --- a/core/backend.py +++ b/core/backend.py @@ -1868,7 +1868,7 @@ class ChatSession(Session): client = self.bs.client backend = self.bs.backend - if client.program not in _UNRATED_PROGRAMS and not backend.util_message_allowed(self.user, data): return False + if not backend.util_message_allowed(self.user, data): return False if stats and data.type in _STATS_MESSAGE_TYPES: stats.on_message_sent(self.user, client) @@ -1894,7 +1894,7 @@ class ChatSession(Session): client = self.bs.client backend = self.bs.backend - if client.program not in _UNRATED_PROGRAMS and not backend.util_message_allowed(self.user, data): return False + if not backend.util_message_allowed(self.user, data): return False if stats and data.type in _STATS_MESSAGE_TYPES: stats.on_message_sent(self.user, client)