@Override
	protected void onNickChange(final String oldNick, final String login,
			final String hostname, final String newNick) {
		if (awaitingNickChange && loggingIn
				&& oldNick.equalsIgnoreCase(this.oldNick)
				&& newNick.equalsIgnoreCase(loginNick)) {
			awaitingNickChange = loggingIn = false;
			setVerbose(false);
			String pass = new String(nickPass);
			identify(pass);
			pass = null;
			for (int i = 0; i < nickPass.length; i++) {
				nickPass[i] = '\0';
			}
			nickPass = null;
			setVerbose(true);
			loggedIn = true;
		}
		for (final Module m : enabledModules.values()) {
			if (m.onNickChange(oldNick, login, hostname, newNick)) {
				break;
			}
		}
	}