This commit is contained in:
Aevann1 2022-03-19 21:15:13 +02:00
parent 207b3c1980
commit 6c97156856
15 changed files with 48 additions and 23 deletions

View file

@ -233,7 +233,7 @@ def log(v):
actions = g.db.query(ModAction)
if not (v and v.admin_level > 1):
actions = actions.filter(ModAction.kind.notin_(["shadowban","unshadowban"]))
actions = actions.filter(ModAction.kind.notin_(["shadowban","unshadowban","flair_post","edit_post"]))
if admin_id:
actions = actions.filter_by(user_id=admin_id)