public void setChannelAdmin(Client name, String channel){
        for (int i=0;i<channelList.size();i++){
            if (channelList.get(i).getChannelName().equals(channel)){
                channelList.get(i).setAdmin(name);
            }
        }
    }