def remove_channel_from_packet(self, packet):
        channel = IMC2Channel(packet)
        try:
            del self[channel.name]
        except KeyError:
            # No matching entry, no big deal.
            pass


#
# IMC2 protocol
#
Removes a channel from the Channel list when given a packet.
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2ChanList.remove_channel_from_packet