Browse Source

Protection anti Clara

master
Hugo Levy-Falk 8 years ago
committed by root
parent
commit
0350cb094f
  1. 2
      roulette.py

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

Loading…
Cancel
Save