diff --git a/files/routes/awards.py b/files/routes/awards.py index d2b8db4ac..71c9f3c42 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -406,7 +406,7 @@ def award_thing(v, thing_type, id): badge_grant(user=author, badge_id=96) elif kind == "namelock": new_name = note.strip().lstrip('@') - if not new_name and author.namechanged: + if (not new_name or new_name == author.username) and author.namechanged: author.namechanged += 86400 else: if not valid_username_regex.fullmatch(new_name):