This commit is contained in:
fireworks88 2021-07-29 00:11:18 +02:00
parent 3c29aaa7b1
commit 935704d410
3 changed files with 4 additions and 4 deletions

View file

@ -920,7 +920,7 @@ def toggle_comment_pin(cid, v):
comment = get_comment(cid, v=v)
if v.admin_level != 6 and v.id != comment.post.author_id:
if v.admin_level < 1 and v.id != comment.post.author_id:
abort(403)
comment.is_pinned = not comment.is_pinned