This commit is contained in:
Aevann1 2021-10-29 18:11:45 +02:00
parent 00cb86cc1b
commit 5e8a522310
2 changed files with 5 additions and 5 deletions

View file

@ -284,7 +284,7 @@ def edit_post(pid, v):
g.db.add(n)
if v.agendaposter and "trans lives matter" not in body_html.lower():
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in body_html.lower():
p.is_banned = True
p.ban_reason = "ToS Violation"
@ -820,7 +820,7 @@ def submit_post(v):
g.db.add(n)
if v.agendaposter and "trans lives matter" not in new_post.body_html.lower():
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in new_post.body_html.lower():
new_post.is_banned = True
new_post.ban_reason = "ToS Violation"