fix name changing

master
Aevann 2024-10-22 15:26:30 +03:00
parent 915d6db634
commit c99dc358cb
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ def settings_name_change(v):
v.username = new_name
if new_name.lower() == v.original_username.lower() or (v.unban_utc and v.unban_utc >= 32500915200):
if new_name.lower() == v.original_username.lower() or (v.unban_utc and v.unban_utc >= 32400000000):
v.original_username = new_name
g.db.add(v)