This commit is contained in:
Aevann1 2021-09-13 23:04:28 +02:00
parent 81ba11ab08
commit 3d3b46e971
5 changed files with 12 additions and 9 deletions

View file

@ -42,7 +42,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
if comment.post and comment.post.club:
if not v:
abort(403)
elif v.admin_level < 3 and (v.coins < 750 or v.club_banned):
elif v.admin_level < 3 and (not v.paid_dues or v.club_banned):
abort(403)
if not comment.parent_submission and not (v and (comment.author.id == v.id or comment.sentto == v.id)) and not (v and v.admin_level == 6) : abort(403)