mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:40:05 +00:00
fix leftover
This commit is contained in:
1 parent
a468b880e5
commit
efd329652e
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user