

def buildProtocol(self, addr):
    '\n        Build the protocol.\n\n        Args:\n            addr (str): Protocl address.\n\n        Returns:\n            protocol (Protocol): The new protocol.\n\n        '
    protocol = IMC2Bot()
    protocol.factory = self
    protocol.network = addr.network
    protocol.servername = self.servername
    protocol.channel = self.channel
    protocol.mudname = self.mudname
    protocol.port = self.port
    return protocol

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py IMC2BotFactory.buildProtocol/VarMisuse@30/86 `self`->`addr`