public void writeListenerMessages(Listener listener){

		List<Message> messages = new CopyOnWriteArrayList<Message>(listener.getTcpMessages());

		if(!messages.isEmpty()){

			for (Message message: messages){

				Usuario user = message.getUser();

				user.addTCPMessage(message.getMessage(listener.getPrefix()));

				msgQueue.add(user);

			}

			listener.getTcpMessages().removeAll(messages);			

		}

	}