editing posts to JL3 (will be constantified soon)

master
justcool393 2022-10-05 18:03:23 -07:00
parent 04f24cd8fd
commit 0dfff1f4f6
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ def edit_post(pid, v):
body = sanitize_raw_body(request.values.get("body", ""))
if v.id != p.author_id and v.admin_level < PERMS['POST_COMMENT_MODERATION']:
if v.id != p.author_id and v.admin_level < 3:
abort(403)
if v.id == p.author_id: