private ChatEvent formatChatMessage(ChatEvent chatEvent) {
		String deltaTime = "";
		String timeStamp = "";
		String nick = chatEvent.getFrom().getDisplayName();

		if (enableTimeStamp)
			timeStamp = new SimpleDateFormat("hh:mm:ss").format(new Date()) + Config.SEP;
		if (enableDeltaTime)
			deltaTime = chatEvent.getDelay() + " ms" + Config.SEP;
		if (chatEvent.getReceipient() == Receipient.QUERY)
			nick = nick + " --> " + chatEvent.getTo() + Config.SEP;
		else
			nick += Config.SEP;

		chatEvent.setFormattedMessage(timeStamp + nick + deltaTime + chatEvent.getMsg());
		return chatEvent;
	}