allow hole jannies to move posts in their hole to /h/chudrama

master
Aevann1 2022-09-14 12:45:28 +02:00
parent 156bdfbc6c
commit 804c2b4e23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def 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 or (reason == '/h/chudrama' and v.mods(post.sub))):
sub_from = post.sub
sub_to = reason[3:].strip().lower()