

def _send_packet(self, packet):
    '\n        Helper function to send packets across the wire.\n\n        Args:\n            packet (Packet): Outgoing packet.\n\n        '
    packet.imc2_protocol = self
    packet_str = utils.to_str(packet.assemble(self.factory.mudname, self.factory.client_pwd, self.factory.server_pwd))
    self.sendLine(packet_str)

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py IMC2Bot._send_packet/original