on firewalise aussi pour autodisc
darcs-hash:20051001225947-41617-e1149d4c79de70630aac82883b12be690ba9cc57.gz
This commit is contained in:
parent
fcfb66cadf
commit
4361c8217a
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,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 :
|
if 'upload' in sanctions or 'warez' 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