fix 500 error

master
Aevann 2024-02-21 20:22:18 +02:00
parent 5296f14abc
commit a0cc19c30e
1 changed files with 1 additions and 1 deletions

View File

@ -1150,7 +1150,7 @@ def chud(fullname, v):
user.chud = 1
duration = "permanently"
user.chud_phrase = request.values.get("chud_phrase").strip().lower()
user.chud_phrase = request.values.get("chud_phrase", "Trans lives matter").strip().lower()
text = f"@{v.username} (a site admin) has chudded you **{duration}**"
if reason: text += f" for the following reason:\n\n> {reason}"