forked from MarseyWorld/MarseyWorld
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4628281#context
parent
a5e06b1d42
commit
9abdb5a1e7
|
@ -387,7 +387,7 @@ class Comment(Base):
|
||||||
|
|
||||||
if comment_link_regex.search(path): return False
|
if comment_link_regex.search(path): return False
|
||||||
|
|
||||||
if self.over_18 and not (v and v.over_18) and not (self.post and self.post.over_18): return True
|
if self.over_18 and not (v and v.over_18): return True
|
||||||
|
|
||||||
if self.is_banned: return True
|
if self.is_banned: return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue