This commit is contained in:
Aevann1 2021-11-11 21:52:48 +02:00
parent fa1d7d886d
commit 9d5bcbf82e

View file

@ -363,7 +363,7 @@ class Comment(Base):
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
if self.is_banned or (self.author and self.author.shadowbanned and not v.shadowbanned): return True
return False