def remove_mud_from_packet(self, packet):
        """
        Removes a mud from the Mud list when given a packet.

        Args:
            packet (Packet): Incoming packet.

        """
        mud = IMC2Mud(packet)
        try:
            del self[mud.name]
        except __HOLE__:
            # No matching entry, no big deal.
            pass
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2MudList.remove_mud_from_packet