forked from rDrama/rDrama
fix prev commit
parent
d9e2e4df84
commit
dba210d6e8
|
@ -600,10 +600,6 @@ def submit_post(v, hole=None):
|
|||
|
||||
if SITE == 'watchpeopledie.tv':
|
||||
p.cw = request.values.get("cw", False, bool)
|
||||
if p.hole == 'selfharm':
|
||||
g.db.flush()
|
||||
text = f"ALERT: @{v.username} has added a Child Warning to {p.textlink} despite the post being in /h/selfharm"
|
||||
alert_admins(text)
|
||||
|
||||
if not p.draft:
|
||||
p.chudded = v.chud and hole != 'chudrama' and not (p.is_longpost and not v.chudded_by)
|
||||
|
@ -631,6 +627,10 @@ def submit_post(v, hole=None):
|
|||
g.db.add(p)
|
||||
g.db.flush()
|
||||
|
||||
if SITE == 'watchpeopledie.tv' and p.cw and p.hole == 'selfharm':
|
||||
text = f"ALERT: @{v.username} has added a Child Warning to {p.textlink} despite the post being in /h/selfharm"
|
||||
alert_admins(text)
|
||||
|
||||
execute_under_siege(v, p, p.body, 'post')
|
||||
|
||||
process_options(v, p)
|
||||
|
|
Loading…
Reference in New Issue