def handle_Command(self, data): prefix, command, params = self.parsemsg(data) # mIRC is a big pile of doo-doo command = command.upper() # DEBUG: log.msg( "%s %s %s" % (prefix, command, params)) IRC.handleCommand(self, command, prefix, params)
def handleCommand(self, command, prefix, params): print "handle comm" IRC.handleCommand(self, command, prefix, params)
def dataReceived(self, data): print "data: %s" % data IRC.dataReceived(self, data)
def connectionLost(self, reason): IRC.connectionLost(self, reason) self.factory.finished_d.callback(None)
def dataReceived(self, data): log.msg('GET: {0}'.format(data)) self.timestamp = time.time() IRC.dataReceived(self, data)
def connectionLost(self, reason=connectionDone): for ch in self.channels: ch.removeuser(self) self.factory.user_exit(self) IRC.connectionLost(self, reason)