forked from MarseyWorld/MarseyWorld
master
parent
8109756172
commit
8c4a4486a1
|
@ -41,7 +41,7 @@ def api_flag_post(pid, v):
|
||||||
_note=f'"{post.flair}"'
|
_note=f'"{post.flair}"'
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
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_from = post.sub
|
||||||
sub_to = reason[3:].strip().lower()
|
sub_to = reason[3:].strip().lower()
|
||||||
|
|
Loading…
Reference in New Issue