diff --git a/freeradius/auth.py b/freeradius/auth.py index 96cf0c03..57e197b5 100644 --- a/freeradius/auth.py +++ b/freeradius/auth.py @@ -352,7 +352,7 @@ def decide_vlan(data, is_wifi, conn): # prise d'un autre adhérent à jour de cotisation force_ma = False is_ma = proprio.has_key('droits') - if chbre is None and is_ma: + if chbre is None and not is_ma: decision = "accueil", u"Chambre inconnue" elif chbre is not None: chbre = escape_ldap(chbre)