forked from rDrama/rDrama
dfsfds
parent
6e4385396c
commit
b27d18b4d0
|
@ -321,7 +321,7 @@ def api_comment(v):
|
||||||
if "rama" in request.host and "ivermectin" in c.body.lower():
|
if "rama" in request.host and "ivermectin" in c.body.lower():
|
||||||
|
|
||||||
c.is_banned = True
|
c.is_banned = True
|
||||||
c.ban_reason = "ToS Violation"
|
c.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(c)
|
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():
|
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower():
|
||||||
|
|
||||||
c.is_banned = True
|
c.is_banned = True
|
||||||
c.ban_reason = "ToS Violation"
|
c.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(c)
|
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():
|
if "rama" in request.host and "ivermectin" in c.body_html.lower():
|
||||||
|
|
||||||
c.is_banned = True
|
c.is_banned = True
|
||||||
c.ban_reason = "ToS Violation"
|
c.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(c)
|
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():
|
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in c.body_html.lower():
|
||||||
|
|
||||||
c.is_banned = True
|
c.is_banned = True
|
||||||
c.ban_reason = "ToS Violation"
|
c.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,7 @@ def edit_post(pid, v):
|
||||||
if "rama" in request.host and "ivermectin" in body_html.lower():
|
if "rama" in request.host and "ivermectin" in body_html.lower():
|
||||||
|
|
||||||
p.is_banned = True
|
p.is_banned = True
|
||||||
p.ban_reason = "ToS Violation"
|
p.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(p)
|
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():
|
if v.agendaposter and not v.marseyawarded and "trans lives matter" not in body_html.lower():
|
||||||
|
|
||||||
p.is_banned = True
|
p.is_banned = True
|
||||||
p.ban_reason = "ToS Violation"
|
p.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(p)
|
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():
|
if "rama" in request.host and "ivermectin" in new_post.body_html.lower():
|
||||||
|
|
||||||
new_post.is_banned = True
|
new_post.is_banned = True
|
||||||
new_post.ban_reason = "ToS Violation"
|
new_post.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(new_post)
|
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():
|
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.is_banned = True
|
||||||
new_post.ban_reason = "ToS Violation"
|
new_post.ban_reason = "AutoJanny"
|
||||||
|
|
||||||
g.db.add(new_post)
|
g.db.add(new_post)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue