From d55302322e69fe1384f803bfd0d15b396aa22054 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sun, 12 Feb 2017 04:37:50 +0100 Subject: [PATCH] Pas d'auto-spawn --- salesman.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/salesman.py b/salesman.py index fa5e81e..d7e0044 100755 --- a/salesman.py +++ b/salesman.py @@ -122,10 +122,10 @@ class Salesman(ircbot.SingleServerIRCBot): for c in self.chanlist: log(self.serveur,"JOIN %s"%(c)) serv.join(c) - for c in self.play_channels: - token=time.time()-3600 - self.play_status[c]=[0,token] - serv.execute_delayed(random.randrange(config.ttrig),self.start_enigme,(serv,c,token)) + #for c in self.play_channels: + # token=time.time()-3600 + # self.play_status[c]=[0,token] + # serv.execute_delayed(random.randrange(config.ttrig),self.start_enigme,(serv,c,token)) def start_enigme(self,serv,channel,token=None): # On reste silencieux si lechan n'est pas actif -- 2.39.2