rem: client.munger.entries[entry].enabled = getBoolPref (pref, rootNode + "munger." + entry, client.munger.entries[entry].enabled); 
add: { if (entry[0] != ".") { client.munger.entries[entry].enabled = getBoolPref (pref, rootNode + "munger." + entry, client.munger.entries[entry].enabled); } } 
context: function readIRCPrefs (rootNode){    pref = Components.classes["@mozilla.org/preferences-service;1"]                     .getService(Components.interfaces.nsIPrefBranch);    if(!pref)        throw ("Can't find pref component.");    if (!rootNode)        rootNode = "extensions.irc.";    if (!rootNode.match(/\.$/))        rootNode += ".";        CIRCNetwork.prototype.INITIAL_NICK =        getCharPref (pref, rootNode + "nickname",                     CIRCNetwork.prototype.INITIAL_NICK);    CIRCNetwork.prototype.INITIAL_NAME =        getCharPref (pref, rootNode + "username",                     CIRCNetwork.prototype.INITIAL_NAME);    CIRCNetwork.prototype.INITIAL_DESC =        getCharPref (pref, rootNode + "desc",                     CIRCNetwork.prototype.INITIAL_DESC);    client.DEFAULT_NETWORK =        getCharPref (pref, rootNode + "defaultNet", "moznet");        client.INITIAL_URLS =        getCharPref (pref, rootNode + "initialURLs", "");    client.INITIAL_SCRIPTS =        getCharPref (pref, rootNode + "initialScripts", "");    client.ADDRESSED_NICK_SEP =        getCharPref (pref, rootNode + "nickCompleteStr",                     client.ADDRESSED_NICK_SEP);    client.INITIAL_VICTIMS =        getCharPref (pref, rootNode + "stalkWords", "");        client.DELETE_ON_PART =        getCharPref (pref, rootNode + "deleteOnPart", true);        client.munger.enabled =        getBoolPref (pref, rootNode + "munger", client.munger.enabled);    client.smileyText =        getBoolPref (pref, rootNode + "munger.smileyText", false);    for (var entry in client.munger.entries)        client.munger.entries[entry].enabled =            getBoolPref (pref, rootNode + "munger." + entry,                         client.munger.entries[entry].enabled);    client.FLASH_WINDOW =        getBoolPref (pref, rootNode + "notify.aggressive", true);    client.SAVE_SETTINGS =        getBoolPref (pref, rootNode + "settings.autoSave", true);    client.DEFAULT_STYLE =        getCharPref (pref, rootNode + "style.default",                     "chrome://chatzilla/skin/output-default.css");        client.MAX_MESSAGES =         getIntPref (pref, rootNode + "views.client.maxlines",                    client.MAX_MESSAGES);    CIRCChannel.prototype.MAX_MESSAGES =        getIntPref (pref, rootNode + "views.channel.maxlines",                    CIRCChannel.prototype.MAX_MESSAGES);    CIRCChanUser.prototype.MAX_MESSAGES =        getIntPref (pref, rootNode + "views.chanuser.maxlines",                    CIRCChanUser.prototype.MAX_MESSAGES);        var h = client.eventPump.getHook ("event-tracer");    h.enabled = client.debugMode =        getBoolPref (pref, rootNode + "debug.tracer", h.enabled);    }
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/050cdabf1fdd264ec70170f737d010f1e60b30e3/readprefs.js/buggy/xul/content/readprefs.js