From f9b4bdeeca4d5a52abfbc5f6205f86299878ecc1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Dec 2021 20:31:29 +0200 Subject: [PATCH] fsdsfd --- 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 42942cd70..707d64da6 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -29,7 +29,7 @@ def get_logged_in_user(): return v def check_ban_evade(v): - if not v.patron and v and v.ban_evade and v.admin_level == 0 and not v.is_suspended: + if v and not v.patron and v.ban_evade and v.admin_level == 0 and not v.is_suspended: if random.randint(0,30) < v.ban_evade: v.shadowbanned = "AutoJanny" else: v.ban_evade +=1 g.db.add(v)