forked from rDrama/rDrama
fix 500 error
parent
5296f14abc
commit
a0cc19c30e
|
@ -1150,7 +1150,7 @@ def chud(fullname, v):
|
||||||
user.chud = 1
|
user.chud = 1
|
||||||
duration = "permanently"
|
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}**"
|
text = f"@{v.username} (a site admin) has chudded you **{duration}**"
|
||||||
if reason: text += f" for the following reason:\n\n> {reason}"
|
if reason: text += f" for the following reason:\n\n> {reason}"
|
||||||
|
|
Loading…
Reference in New Issue