diff --git a/files/routes/comments.py b/files/routes/comments.py index e595497f8..568541b2d 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -321,7 +321,7 @@ def api_comment(v): if "rama" in request.host and "ivermectin" in c.body.lower(): c.is_banned = True - c.ban_reason = "ToS Violation" + c.ban_reason = "AutoJanny" g.db.add(c) @@ -354,7 +354,7 @@ def api_comment(v): if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower(): c.is_banned = True - c.ban_reason = "ToS Violation" + c.ban_reason = "AutoJanny" g.db.add(c) @@ -692,7 +692,7 @@ def edit_comment(cid, v): if "rama" in request.host and "ivermectin" in c.body_html.lower(): c.is_banned = True - c.ban_reason = "ToS Violation" + c.ban_reason = "AutoJanny" g.db.add(c) @@ -726,7 +726,7 @@ def edit_comment(cid, v): if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower(): c.is_banned = True - c.ban_reason = "ToS Violation" + c.ban_reason = "AutoJanny" g.db.add(c) diff --git a/files/routes/posts.py b/files/routes/posts.py index be6522271..caade1dbb 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -256,7 +256,7 @@ def edit_post(pid, v): if "rama" in request.host and "ivermectin" in body_html.lower(): p.is_banned = True - p.ban_reason = "ToS Violation" + p.ban_reason = "AutoJanny" g.db.add(p) @@ -290,7 +290,7 @@ def edit_post(pid, v): 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" + p.ban_reason = "AutoJanny" g.db.add(p) @@ -793,7 +793,7 @@ def submit_post(v): if "rama" in request.host and "ivermectin" in new_post.body_html.lower(): new_post.is_banned = True - new_post.ban_reason = "ToS Violation" + new_post.ban_reason = "AutoJanny" g.db.add(new_post) @@ -828,7 +828,7 @@ def submit_post(v): 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" + new_post.ban_reason = "AutoJanny" g.db.add(new_post)