avec le nom en entier on blackliste effectivement pour les sanctions autodisc
darcs-hash:20060310204957-72cb0-812e4a60b3d06ec3e7cb09a01f2b4d9c891a2ce1.gz
This commit is contained in:
parent
df940fcb08
commit
200c8d709f
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 'p2p' in sanctions or 'autodisc' in sanctions :
|
if 'upload' in sanctions or 'warez' in sanctions or 'p2p' in sanctions or 'autodisc_p2p' in sanctions or 'autodisc_upload' in sanctions :
|
||||||
if isinstance(entite, Machine):
|
if isinstance(entite, Machine):
|
||||||
blacklist+=[entite]
|
blacklist+=[entite]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue