master
Aevann1 2021-12-23 20:31:29 +02:00
parent d89e7d7b69
commit f9b4bdeeca
1 changed files with 1 additions and 1 deletions

View File

@ -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)