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)
Ejemplo n.º 2
0
 def handleCommand(self, command, prefix, params):
     print "handle comm"
     IRC.handleCommand(self, command, prefix, params)
Ejemplo n.º 3
0
 def dataReceived(self, data):
     print "data: %s" % data
     IRC.dataReceived(self, data)
Ejemplo n.º 4
0
 def connectionLost(self, reason):
     IRC.connectionLost(self, reason)
     self.factory.finished_d.callback(None)
Ejemplo n.º 5
0
 def dataReceived(self, data):
     log.msg('GET: {0}'.format(data))
     self.timestamp = time.time()
     IRC.dataReceived(self, data)
Ejemplo n.º 6
0
 def connectionLost(self, reason):
     IRC.connectionLost(self, reason)
     self.factory.finished_d.callback(None)
Ejemplo n.º 7
0
 def connectionLost(self, reason=connectionDone):
     for ch in self.channels:
         ch.removeuser(self)
     self.factory.user_exit(self)
     IRC.connectionLost(self, reason)
Ejemplo n.º 8
0
 def handleCommand(self, command, prefix, params):
     print "handle comm"
     IRC.handleCommand(self, command, prefix, params)
Ejemplo n.º 9
0
 def dataReceived(self, data):
     print "data: %s" % data
     IRC.dataReceived(self, data)