This commit is contained in:
Aevann1 2021-10-23 01:50:00 +02:00
parent c5952f1845
commit 266f501146
50 changed files with 117 additions and 118 deletions

View file

@ -355,7 +355,7 @@ class Comment(Base):
if not v: return False
if v.filter_words and any([x in self.body for x in v.filter_words]): return True
if v.filter_words and self.body and any([x in self.body for x in v.filter_words]): return True
if self.is_banned or (self.author and self.author.shadowbanned): return True