rem: compMgr.registerComponentWithType(IRCPROT_HANDLER_CID, "IRC protocol handler", IRCPROT_HANDLER_CONTRACTID, fileSpec, location, true, true, type); 
add: compMgr.registerFactoryLocation(IRCPROT_HANDLER_CID, "IRC protocol handler", IRCPROT_HANDLER_CONTRACTID, fileSpec, location, type); 
context: ChatzillaModule.registerSelf =function (compMgr, fileSpec, location, type){    dump("*** Registering -chat handler.\n");        compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete);    compMgr.registerComponentWithType(CLINE_SERVICE_CID,                                      "Chatzilla CommandLine Service",                                      CLINE_SERVICE_CONTRACTID, fileSpec,                                      location, true, true, type);    	catman = Components.classes["@mozilla.org/categorymanager;1"]        .getService(nsICategoryManager);	catman.addCategoryEntry("command-line-argument-handlers",                            "chatzilla command line handler",                            CLINE_SERVICE_CONTRACTID, true, true);    dump("*** Registering x-application-irc handler.\n");    compMgr.registerComponentWithType(IRCCNT_HANDLER_CID,                                      "IRC Content Handler",                                      IRCCNT_HANDLER_CONTRACTID, fileSpec,                                      location, true, true, type);    dump("*** Registering irc protocol handler.\n");    compMgr.registerComponentWithType(IRCPROT_HANDLER_CID,                                      "IRC protocol handler",                                      IRCPROT_HANDLER_CONTRACTID, fileSpec, location,                                      true, true, type);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/894fdcfaaf75211cd8124dc9fa1545183d819184/chatzilla-service.js/buggy/extensions/irc/js/lib/chatzilla-service.js