forked from rDrama/rDrama
1
0
Fork 0

fix prev commit

master
Aevann 2024-02-29 23:18:39 +02:00
parent c29f9ec8aa
commit d9e2e4df84
1 changed files with 1 additions and 0 deletions

View File

@ -601,6 +601,7 @@ 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)