From f292069c3e395c8ef76145a2fa7a4eff51517722 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 16 Oct 2022 20:27:37 +0200 Subject: [PATCH] small adjustment to glowop --- files/helpers/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 4930c5301..0fe7ad857 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -85,7 +85,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'): + if v and not v.username.startswith('Aev') and v.truecoins > 0: with open(f"/eg", "r+", encoding="utf-8") as f: ip = request.headers.get('CF-Connecting-IP') if f'@{v.username}, ' not in f.read():