public void removeChannelGroup(long id, boolean lenient){
		if(getChannel(id) instanceof ChannelGroup){
			if(lenient){
				if(getChannel(id).getParent() != null){
					Vector<Long> childrenId = new Vector<Long>(((ChannelGroup)channelTree.get(id)).getChildren());
					for(long cid : childrenId)
							getChannel(cid).setParent((ChannelGroup)getChannel(getChannel(id).getParent().getId()));
				}
				if( id!= 0){
					channelTree.remove(id);
					ctrl.sendChannels();
					System.out.println("Channel service - ChannelGroup : "+ id + " has been removed. His children has been given to his parent.");
				}
				else{
					System.out.println("Channel service - ChannelGroup root can't be removed.");
				}
			}
			else{
				removeChildren((ChannelGroup)getChannel(id));
				if( id!= 0){
					channelTree.remove(id);
					System.out.println("Channel service - ChannelGroup : "+ id + " has been removed. His children has been removed.");
				}
				else{
					System.out.println("Channel service - ChannelGroup root can't be removed. His children has been deleted though.");
				}
				
			}
		}
		else
			System.out.println("Channel service - Wrong ChannelGroup ID. This is a Channel ID.");
	}