@Override protected void onJoin(String channelName, String joinedNick, String login, String hostname) { Channel c; // We joined a channel if (joinedNick.equals(this.getNick())) { System.out.println("it was us!"); c = new Channel(channelName, this.getServer(), this.model); channels.add(c); model.joinedChannel(c); } else { c = this.getChannel(channelName); if (c != null) { c.userJoins(joinedNick, login, hostname); } } }