From c99dc358cb2ba4592f3acbfa6397112435ce0267 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 22 Oct 2024 15:26:30 +0300 Subject: [PATCH] fix name changing --- files/routes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index f2e832d9d..7b115270b 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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)