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