From d6804a648975466493d4566c6a2ac861deae0579 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 21 Mar 2023 13:03:27 +0200 Subject: [PATCH] fix 500 error --- files/routes/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index a55392ab0..3217c043d 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1061,6 +1061,8 @@ def agendaposter(id, v): if reason: text = f"@{v.username} (a site admin) has chudded you permanently for the following reason:\n\n> {reason}" else: text = f"@{v.username} (a site admin) has chudded you permanently." + user.agendaposter_phrase = "trans lives matter" + user.chudded_by = v.id g.db.add(user)