@Override
    public void onJoin(String channel, String sender, String login, String hostname) {
        Channel channelInfo = getChannelObject(channel);

        if (channelInfo == null)
            return;

        if (this.getNick().equalsIgnoreCase(sender)) {
            synchronized (joinedChannels) {
                //log("Got self join for " + channel);
                if (!joinedChannels.contains(channel)) {
                    LOGGER_D.debug("Got self join on " + channel);
                    LOGGER_D.debug("Got JOIN for " + joinedChannels.size() + " " + this.getChannels().length);
                    joinedChannels.add(channel);
                }
            }
        }
    }