This commit is contained in:
Aevann1 2022-04-22 16:15:17 +02:00
parent 97aba453c2
commit c2fee842f2
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ def toggle_club(pid, v):
if v.club_allowed == False: abort(403)
post = get_post(pid)
if post.author_id != v.id and v.admin_level < 2: abort(403)
if v.admin_level < 2: abort(403)
post.club = not post.club
g.db.add(post)