@Override
    protected void onNickChange(String oldNick, String login, String hostname, String newNick) {
        for (ChannelEventsListener listener : channelEventsListeners) {
            if ( listener.contains(oldNick) )
                listener.userChangesNick(oldNick, newNick);
        }

        PrivateMessagingListener listener = getPrivateMessagingListener(oldNick);
        if (listener != null)
            listener.userChangesNick(newNick);

        boolean isMe = newNick.equals( getNick() );
        if (serverEventsListener != null && isMe)
            serverEventsListener.myNickHasChanged(newNick);
    }