public void sendCommand(String command) {
		System.out.println("command " + command + "| cientFeatures "
				+ clientFeatures + "| lobby " + lobby);
		try {
			if ((!command.startsWith(util.Protocol.CMD_SAID) || (clientFeatures != null && clientFeatures
					.contains(util.Protocol.FEAT_CHAT)))
					&& (!command.startsWith(util.Protocol.CMD_DISCONNECTED) || (this.lobby != null || (clientFeatures != null && (clientFeatures
							.contains(util.Protocol.FEAT_CHAT) || clientFeatures
							.contains(util.Protocol.FEAT_CHALLENGE)))))) {
				// TODO betere oplossing voor dit
				out.write(command + "\n");
				out.flush();
			}
		} catch (IOException e) {
			System.out.println("Failed to send message to:  " + this.name);
		}
	}