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)