From: Vincent Le Gallic Date: Tue, 14 Feb 2017 14:43:41 +0000 (+0100) Subject: Vraiment pas d'auto-spawn X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=2c3aa488c2272068ab6f139149721439bf5dd263;p=bots%2Fsalesman.git Vraiment pas d'auto-spawn --- diff --git a/salesman.py b/salesman.py index d7e0044..12394a5 100755 --- a/salesman.py +++ b/salesman.py @@ -129,9 +129,9 @@ class Salesman(ircbot.SingleServerIRCBot): def start_enigme(self,serv,channel,token=None): # On reste silencieux si lechan n'est pas actif - if not self.is_active(channel): - serv.execute_delayed(config.ttrig*5,self.start_enigme,(serv,channel,token)) - return + #if not self.is_active(channel): + # serv.execute_delayed(config.ttrig*5,self.start_enigme,(serv,channel,token)) + # return if self.play_status[channel][0]==0 and channel in self.play_channels: ok="skip" if token==self.play_status[channel][-1]: