dfsfsd
This commit is contained in:
parent
8670590fc1
commit
c16bf4edc5
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class Comment(Base):
|
|||
if any([x in self.body for x in v.filter_words]):
|
||||
return True
|
||||
|
||||
if self.is_banned or self.author.shadowbanned: return True
|
||||
if self.is_banned or (self.author and self.author.shadowbanned): return True
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue