void handleDisconnection(Client c) {
        for (Channel dis: getClientChannel(c)) {
            dis.partUser(c);
            dis.sendChannelMSGExclude(c, ":" + c.getName() + "!" + c.getName() + "@" + c.getIP() + " QUIT " + ":Client disconnected.");
            
        }

        if (clients.contains(c)) {
            clients.remove(c);
        }

        c.close();

    }