From 2134a11b4454022f83b751d121bf740b782104be Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 24 Aug 2014 15:42:56 +0200 Subject: [PATCH] freeradius/auth.py: petites typo logique --- freeradius/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)