sneed
This commit is contained in:
parent
3c29aaa7b1
commit
935704d410
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue