Debug.println(this + " joining channel:" + name);
    public final void joinChannel(String name) {        Debug.println(this + " joining channel:" + name);        User old = this.user;        if (old != null) {            Channel tmpChannel = old.getFromAllowedChannelByName(name);            if (tmpChannel != null) {                old.setCurrentChannel(tmpChannel);            }            else {                this.sendCommand(                    new JoinChannelErrorCommand());            }        }        else {            this.sendCommand(                new LoginErrorCommand());        }    }