remotes/1693045480750635534/spooky-22
Aevann1 2022-05-09 16:07:29 +02:00
parent 45da8f0f35
commit db2a8236db
1 changed files with 3 additions and 0 deletions

View File

@ -1344,6 +1344,9 @@ def unban_post(post_id, v):
post = g.db.query(Submission).filter_by(id=post_id).one_or_none()
if post.author.agendaposter and AGENDAPOSTER_PHRASE not in post.body.lower():
return {"error": "You can't bypass the chud award!"}
if not post:
abort(400)