remotes/1693045480750635534/spooky-22
Aevann1 2021-08-13 01:19:00 +02:00
parent 10a8e97d7b
commit 06bbddbdcc
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
comment = get_comment(cid, v=v)
if not comment.parent_submission and not (v and (comment.author.id == v.id or comment.sentto == v.id)) : 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 and comment.sentto == 0) : abort(403)
if not pid:
if comment.parent_submission: pid = comment.parent_submission