On rajoute la sanction p2p
darcs-hash:20060302122945-72cb0-fb8a5b983f37495f885eed09d47750f33fe34f16.gz
This commit is contained in:
parent
6e4316e1fe
commit
c9cbed4c7c
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ class firewall_komaz(firewall_crans) :
|
||||||
for entite in search['adherent']+search['club']+search['machine']:
|
for entite in search['adherent']+search['club']+search['machine']:
|
||||||
self.anim.cycle()
|
self.anim.cycle()
|
||||||
sanctions = entite.blacklist_actif()
|
sanctions = entite.blacklist_actif()
|
||||||
if 'upload' in sanctions or 'warez' in sanctions or 'autodisc' in sanctions :
|
if 'upload' in sanctions or 'warez' in sanctions or 'p2p' in sanctions or 'autodisc' in sanctions :
|
||||||
from ldap_crans import machine
|
from ldap_crans import machine
|
||||||
if entite.__class__ == machine:
|
if entite.__class__ == machine:
|
||||||
blacklist+=[entite]
|
blacklist+=[entite]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue