Merge branch 'master' of gitlab.rezometz.org:klafyvel/roulette
This commit is contained in:
commit
ae278dbb44
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def playable_required(f):
|
||||||
return render_template('not_subscribed.html',stats=statistiques())
|
return render_template('not_subscribed.html',stats=statistiques())
|
||||||
|
|
||||||
# Un utilisateur banni ne peut pas jouer
|
# Un utilisateur banni ne peut pas jouer
|
||||||
elif is_banned(user['id']):
|
elif is_banned(user['id']) and ('up' in STATE):
|
||||||
return banned()
|
return banned()
|
||||||
|
|
||||||
return f(*args, **kwargs)
|
return f(*args, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue