rem: this.display(msg, type); 
add: if (msg) this.display(msg, type); 
context: function my_neterror (e){    var msg;    var type = "ERROR";    if (typeof e.errorCode != "undefined")    {        switch (e.errorCode)        {            case JSIRC_ERR_NO_SOCKET:                msg = MSG_ERR_NO_SOCKET;                break;            case JSIRC_ERR_EXHAUSTED:                msg = MSG_ERR_EXHAUSTED;                break;            case JSIRC_ERR_OFFLINE:                msg = MSG_ERR_OFFLINE;                break;            case JSIRC_ERR_NO_SECURE:                msg = getMsg(MSG_ERR_NO_SECURE, this.unicodeName);                break;            case JSIRC_ERR_CANCELLED:                msg = MSG_ERR_CANCELLED;                type = "INFO";                break;        }    }    else        msg = e.params[e.params.length - 1];    dispatch("sync-header");    updateTitle();    if (this.state == NET_OFFLINE)    {        this.busy = false;        updateProgress();    }    client.ident.removeNetwork(this);    this.display(msg, type);    if (this.deleteWhenDone)        this.dispatch("delete-view");    delete this.deleteWhenDone;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/68f08233a0c086d6a42e5fd7e006739c65ce5fc5/handlers.js/clean/extensions/irc/xul/content/handlers.js