sdffds
This commit is contained in:
parent
fa1d7d886d
commit
9d5bcbf82e
1 changed files with 1 additions and 1 deletions
|
@ -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 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
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue