This commit is contained in:
Aevann1 2021-11-12 16:06:22 +02:00
parent c121a26e61
commit 3e92ef07f8
6 changed files with 26 additions and 15 deletions

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 and not v.shadowbanned): return True
if self.is_banned: return True
return False