add: } 
context: function cmdJoin(e){    /* This check makes sure we only check if the *user* entered anything, and     * ignore any contextual information, like the channel the command was     * run on.     */    if (!e.hasOwnProperty("channelName") || !e.channelName)    {        window.openDialog("chrome://chatzilla/content/channels.xul", "",                          "modal,resizable=yes", { client: client })        return null;    }    if (!("charset" in e))    {        e.charset = null;    }    else if (e.charset && !checkCharset(e.charset))    {        display (getMsg(MSG_ERR_INVALID_CHARSET, e.charset), MT_ERROR);        return null;    }    if (e.channelName.search(",") != -1)    {        // We can join multiple channels! Woo!        var chan;        var chans = e.channelName.split(",");        var keys = [];        if (e.key)            keys = e.key.split(",");        for (var c in chans)        {            chan = dispatch("join", { charset: e.charset,                                      channelName: chans[c],                                      key: keys.shift() });        }        return chan;    }    if (arrayIndexOf(e.server.channelTypes, e.channelName[0]) == -1)        e.channelName = e.server.channelTypes[0] + e.channelName;    var charset = e.charset ? e.charset : e.network.prefs["charset"];    e.channel = e.server.addChannel(e.channelName, charset);    if (e.charset)        e.channel.prefs["charset"] = e.charset;    e.channel.join(e.key);    /* !-channels are "safe" channels, and get a server-generated prefix. For     * this reason, we shouldn't do anything client-side until the server     * replies (since the reply will have the appropriate prefix). */    if (e.channelName[0] != "!")    {        if (!("messages" in e.channel))        {            e.channel.displayHere(getMsg(MSG_CHANNEL_OPENED,                                         e.channel.unicodeName), MT_INFO);        }        dispatch("set-current-view", { view: e.channel });    }    return e.channel;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/ba197953aea6ecdd5d45ca4d9128cdd702a68236/commands.js/clean/xul/content/commands.js