]> gitweb.pimeys.fr Git - bots/salesman.git/commitdiff
Vraiment pas d'auto-spawn
authorVincent Le Gallic <legallic@crans.org>
Tue, 14 Feb 2017 14:43:41 +0000 (15:43 +0100)
committerVincent Le Gallic <legallic@crans.org>
Tue, 14 Feb 2017 14:43:41 +0000 (15:43 +0100)
salesman.py

index d7e00442ceed6264bdab22bb2018d00d34a80eb2..12394a5f036ea964a22524b359de024c7c559d64 100755 (executable)
@@ -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]: