From 0350cb094fac6817b3c0b7cf24f695a062023868 Mon Sep 17 00:00:00 2001 From: Hugo Levy-Falk Date: Tue, 16 Jan 2018 10:36:42 +0100 Subject: [PATCH] Protection anti Clara --- roulette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roulette.py b/roulette.py index dcdcc3e..9a36158 100644 --- a/roulette.py +++ b/roulette.py @@ -146,7 +146,7 @@ def playable_required(f): return render_template('not_subscribed.html',stats=statistiques()) # Un utilisateur banni ne peut pas jouer - elif is_banned(user['id']): + elif is_banned(user['id']) and ('up' in STATE): return banned() return f(*args, **kwargs)