public void run() {

		while (ircConnection.isRunning()) {
			if (!(eventQueue == null) && !eventQueue.isEmpty()) {
				transferEntry();
			}
			try {
				Thread.sleep(messageDelay);
			} catch (Exception e) {
				// ignore
			}
		}

		while (!eventQueue.isEmpty() && !ircConnection.isChannelEmpty()) {
			transferEntry();
		}
	}