Aevann1 2022-07-28 16:19:58 +02:00
parent 8109756172
commit 8c4a4486a1
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def api_flag_post(pid, v):
_note=f'"{post.flair}"'
)
g.db.add(ma)
elif reason.startswith('/h/') and v.admin_level >= 2 or v.id == post.author_id:
elif reason.startswith('/h/') and (v.admin_level >= 2 or v.id == post.author_id):
sub_from = post.sub
sub_to = reason[3:].strip().lower()