

def remove_channel_from_packet(self, packet):
    '\n        Removes a channel from the Channel list when given a packet.\n\n        Args:\n            packet (Packet): incoming packet.\n\n        '
    channel = IMC2Channel(packet)
    try:
        del self[channel.name]
    except KeyError:
        pass

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py IMC2ChanList.remove_channel_from_packet/original