From 74f6001f68428e17c656e213db4b91093c717ab3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 19 Aug 2021 20:32:37 +0200 Subject: [PATCH] fd --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index f29f617e21..0b32494617 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -44,7 +44,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)) and not (v and v.admin_level == 6 and comment.sentto == 0) : 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) if not pid: if comment.parent_submission: pid = comment.parent_submission