From 9ca4b8f0679b65ffec0fb0df1ed58a09c2b56b9e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 21 Jan 2022 10:44:19 +0200 Subject: [PATCH] fsd --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index f83209d96..55a48302a 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1170,7 +1170,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 'black lives matters' not in comment.body.lower(): + if comment.author.agendaposter and AGENDAPOSTER_PHRASE not in comment.body.lower(): return {"error": "You can't bypass the agendaposter award!"} if comment.is_banned: