def commandReceived(self, command, argument): Telnet.commandReceived(self, command, argument) if argument==GMCP and command == WILL and self.factory.realm.gmcp_handler: for msg in self.factory.realm.gmcp_handler.handshakeMessages(): self.requestNegotiation(GMCP, msg)
def commandReceived(self, command, argument): Telnet.commandReceived(self, command, argument) if argument == GMCP and command == WILL: for msg in self.factory.gmcp_handshakes: self.requestNegotiation(GMCP, msg)