From 0a30a7baef7bead3183e114053b30e7fd8f34cbb Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 6 Mar 2023 19:19:49 +0200 Subject: [PATCH] remove unnecessary check --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 6a6e73f70..5c8820bd7 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -334,7 +334,7 @@ class Comment(Base): if self.is_banned: return True - if self.author.shadowbanned and not (v and v.shadowbanned): return True + if self.author.shadowbanned: return True if (self.wordle_result) and (not self.body or len(self.body_html) <= 100) and 9 > self.level > 1: return True