fix sub 500
parent
ad52b41fae
commit
d6cfc9795f
|
@ -121,9 +121,8 @@ def comment(v:User):
|
|||
if posting_to_submission:
|
||||
sub = post_target.sub
|
||||
if sub and v.exiled_from(sub): abort(403, f"You're exiled from /h/{sub}")
|
||||
|
||||
if sub in ('furry','vampire','racist','femboy') and not v.client and not v.house.lower().startswith(sub):
|
||||
abort(403, f"You need to be a member of House {sub.capitalize()} to comment in /h/{sub}")
|
||||
if sub in ('furry','vampire','racist','femboy') and not v.client and not v.house.lower().startswith(sub):
|
||||
abort(403, f"You need to be a member of House {sub.capitalize()} to comment in /h/{sub}")
|
||||
|
||||
if not User.can_see(v, parent): abort(404)
|
||||
if not isinstance(parent, User) and parent.deleted_utc != 0: abort(404)
|
||||
|
|
Loading…
Reference in New Issue