rem: for (var c in this.lastServer.channels) 
add: var c, u;   if (this.lastServer != this.primServ) 
context: function my_showtonet (e){    var p = (3 in e.params) ? e.params[2] + " " : "";    var str = "";    switch (e.code)    {        case "004":        case "005":            str = e.params.slice(3).join(" ");            break;        case "001":            // Welcome to history.            client.globalHistory.addPage(this.getURL());            updateTitle(this);            this.updateHeader();            client.updateHeader();            updateStalkExpression(this);            var cmdary = this.prefs["autoperform"];            for (var i = 0; i < cmdary.length; ++i)                this.dispatch(cmdary[i])            if (("lastServer" in this) && this.lastServer)            {                for (var c in this.lastServer.channels)                {                    var chan = this.lastServer.channels[c];                    if (chan.joined)                        chan.join(chan.mode.key);                }            }            if ("pendingURLs" in this)            {                var url = this.pendingURLs.pop();                while (url)                {                    gotoIRCURL(url);                    url = this.pendingURLs.pop();                }                delete this.pendingURLs;            }            str = e.decodeParam(2);            if ("onLogin" in this)            {                ev = new CEvent("network", "login", this, "onLogin");                client.eventPump.addEvent(ev);            }            break;                    case "372":        case "375":        case "376":            if (this.IGNORE_MOTD)                return;            /* no break */        default:            str = e.decodeParam(e.params.length - 1);            break;    }    this.displayHere(p + str, e.code.toUpperCase());    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e11c8cbd6fca8e95318d16f53a60cb8585b78607/handlers.js/clean/extensions/irc/xul/content/handlers.js