rem: if ("notifyList" in net && net.notifyList.length > 0) 
add: if (net.prefs["notifyList"].length > 0) 
context: function cmdNotify(e){    var net = e.network;        if (!e.nickname)    {        if ("notifyList" in net && net.notifyList.length > 0)        {            /* delete the lists and force a ISON check, this will             * print the current online/offline status when the server             * responds */            delete net.onList;            delete net.offList;            onNotifyTimeout();        }        else        {            display(MSG_NO_NOTIFY_LIST);        }    }    else    {        var adds = new Array();        var subs = new Array();                if (!("notifyList" in net))            net.notifyList = new Array();        for (var i in e.nicknameList)        {            var nickname = e.nicknameList[i];            var idx = arrayIndexOf (net.notifyList, nickname);            if (idx == -1)            {                net.notifyList.push (nickname);                adds.push(nickname);            }            else            {                arrayRemoveAt (net.notifyList, idx);                subs.push(nickname);            }        }        var msgname;                if (adds.length > 0)        {            msgname = (adds.length == 1) ? MSG_NOTIFY_ADDONE :                                           MSG_NOTIFY_ADDSOME;            display(getMsg(msgname, arraySpeak(adds)));        }                if (subs.length > 0)        {            msgname = (subs.length == 1) ? MSG_NOTIFY_DELONE :                                            MSG_NOTIFY_DELSOME;            display(getMsg(msgname, arraySpeak(subs)));        }                    delete net.onList;        delete net.offList;        onNotifyTimeout();    }}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/d256ea351acacb0547763e16ea753d6bfa905c1f/commands.js/clean/xul/content/commands.js