remotes/1693045480750635534/spooky-22
Aevann1 2021-12-10 02:51:17 +02:00
parent 75963c4a8c
commit d7fbaf505e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if not (v and v.admin_level > 1) and post.club and not (v and (v.paid_dues or v.id == post.author_id)) or post.private and not (v and v.id == post.author_id): abort(403)
if not (v and v.admin_level > 1) and (post.club and not (v and (v.paid_dues or v.id == post.author_id)) or post.private and not (v and v.id == post.author_id)): abort(403)
if v:
votes = g.db.query(CommentVote).filter_by(user_id=v.id).subquery()