'This is called when we successfully connect to the network. We
make sure to now register with the game as a full session.'

def signedOn(self):

    self.join(self.channel)
    self.stopping = False
    self.factory.bot = self
    address = ('%s@%s' % (self.channel, self.network))
    self.init_session('ircbot', address, self.factory.sessionhandler)
    self.uid = int(self.factory.uid)
    self.logged_in = True
    self.factory.sessionhandler.connect(self)
    logger.log_info(("IRC    bot    '%s'    connected    to    %s    at    %s:%s." % (self.nickname, self.channel, self.network, self.port)))
