This commit is contained in:
Aevann1 2022-01-17 18:46:35 +02:00
parent 7b3ad51b25
commit 76c165a474
4 changed files with 9 additions and 9 deletions

View file

@ -1164,7 +1164,7 @@ def api_unban_comment(c_id, v):
comment = g.db.query(Comment).filter_by(id=c_id).one_or_none()
if not comment: abort(404)
if comment.author.agendaposter and 'trans lives matters' not in comment.body.lower():
if comment.author.agendaposter and 'black lives matters' not in comment.body.lower():
return {"error": "You can't bypass the agendaposter award!"}
if comment.is_banned: