public void removeChannel(String name){     
        
        // remove from array
        for (int i=0;i<channelList.size();i++){
            if (channelList.get(i).getChannelName() == null ? name == null : channelList.get(i).getChannelName().equals(name)){
                log.writeLn("Channel " + name + " found!");
                channelList.get(i).rmChannel();
                channelList.remove(i);
                
                // tell all the clients to leave
                /*for (int l=0;i<channelList.get(i).channelClientList.size();l++){
                    channelList.get(i).channelClientList.get(l).send("kicked " + name);
                }*/
            }
        }     
        
    }