[deconnexion.py] Passage 6h pour le bittorrent...

darcs-hash:20100219193934-ffbb2-ddc78bc943add4a86c7d522966aba9f9a6fe917a.gz
This commit is contained in:
Nicolas Dandrimont 2010-02-19 20:39:34 +01:00
parent ab4630dd33
commit 2311370ac4

View file

@ -482,7 +482,7 @@ for ip, id_p2p, nombre in fraudeurs:
# L'adhérent n'est pas encore blacklisté # L'adhérent n'est pas encore blacklisté
if protocole == "Bittorrent": if protocole == "Bittorrent":
fin = int(time()) + 2*3600 fin = int(time()) + 6*3600
else: else:
fin = int(time()) + 24*3600 fin = int(time()) + 24*3600
proprio.blacklist(['now', fin, 'autodisc_p2p', hostname]) proprio.blacklist(['now', fin, 'autodisc_p2p', hostname])