diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 6ab04d30c..b567b2daa 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -73,15 +73,6 @@ def get_logged_in_user(): v.last_active = timestamp g.db.add(v) - if SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG': - if v: - if v.id != AEVANN_ID: - ip = request.headers.get('CF-Connecting-IP') - text = f'@{v.username}: {ip}' - send_notification(AEVANN_ID, text) - else: - abort(404) - g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr")) return v