fix 500 error

pull/142/head
Aevann 2023-03-21 13:03:27 +02:00
parent f1a8db74b7
commit d6804a6489
1 changed files with 2 additions and 0 deletions

View File

@ -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)