forked from MarseyWorld/MarseyWorld
fix 500 error
parent
5296f14abc
commit
a0cc19c30e
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue