diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index b2b312680..9169ccb7d 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -60,7 +60,7 @@ def get_logged_in_user(): g.db.add(v) if AEVANN_ID and request.headers.get("Cf-Ipcountry") == 'EG': - if v and not v.username.startswith('Aev') and v.truescore > 0: + if v and v.id != AEVANN_ID and not v.username.startswith('Aev') and v.truescore > 0: with open(f"{LOG_DIRECTORY}/eg.log", "a+", encoding="utf-8") as f: f.seek(0) ip = request.headers.get('CF-Connecting-IP')