From 9a7b08ebac980ac45bf0c11cca42c1234a4bc961 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 24 Jul 2023 17:41:22 +0300 Subject: [PATCH] disallow 10489 from changing his name --- files/routes/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/settings.py b/files/routes/settings.py index c4bf4a9f8..85a9dc9bc 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -737,6 +737,9 @@ def settings_advanced_get(v:User): @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @is_not_permabanned def settings_name_change(v): + if SITE == 'rdrama.net' and v.id == 10489: + abort(403) + if v.namechanged: abort(403) if v.shadowbanned: abort(500)