fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4161734#context
parent
9984fea7aa
commit
3ecc3d1ebf
|
@ -360,6 +360,7 @@ def award_thing(v, thing_type, id):
|
||||||
if existing:
|
if existing:
|
||||||
abort(400, f"@{new_name} is already taken!")
|
abort(400, f"@{new_name} is already taken!")
|
||||||
|
|
||||||
|
if not author.prelock_username:
|
||||||
author.prelock_username = author.username
|
author.prelock_username = author.username
|
||||||
author.username = new_name
|
author.username = new_name
|
||||||
author.namechanged = int(time.time()) + 86400
|
author.namechanged = int(time.time()) + 86400
|
||||||
|
|
Loading…
Reference in New Issue