From 28dddf4a8b11d5c3ac0cbc60a5fe4f6735f5e3f8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Feb 2023 07:51:17 +0200 Subject: [PATCH] minor change --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 1b04c8b55..56a92840c 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -68,7 +68,7 @@ def get_logged_in_user(): v.last_active = timestamp g.db.add(v) - if SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG' and not (v and v.username.startswith('Aev')): + if SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG' and not v: abort(404) g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))