diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index e8055ea75..546505b0e 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -62,6 +62,8 @@ def check_ban_evade(v): post.ban_reason="ban evasion" g.db.add(post) + g.db.commit() + ma=ModAction( kind="ban_post", user_id=AUTOJANNY_ACCOUNT,