add: networks["ircnet"] = { displayName:  "ircnet", isupportsKey: "", servers: [{hostname: "irc.ircnet.com", port:6667}]}; 
context: function initNetworks(){    var networks = new Object();    // Set up default network list.    networks["moznet"] = {        displayName:  "moznet",        isupportsKey: "Mozilla",        servers: [{hostname: "irc.mozilla.org", port:6667},                  {hostname: "irc.mozilla.org", port:6697, isSecure: true}]};    networks["hybridnet"] = {        displayName:  "hybridnet",        isupportsKey: "",        servers: [{hostname: "irc.ssc.net", port: 6667}]};    networks["slashnet"] = {        displayName:  "slashnet",        isupportsKey: "",        servers: [{hostname: "irc.slashnet.org", port:6667}]};    networks["dalnet"] = {        displayName:  "dalnet",        isupportsKey: "",        servers: [{hostname: "irc.dal.net", port:6667}]};    networks["undernet"] = {        displayName:  "undernet",        isupportsKey: "",        servers: [{hostname: "irc.undernet.org", port:6667}]};    networks["webbnet"] = {        displayName:  "webbnet",        isupportsKey: "",        servers: [{hostname: "irc.webbnet.info", port:6667}]};    networks["quakenet"] = {        displayName:  "quakenet",        isupportsKey: "",        servers: [{hostname: "irc.quakenet.org", port:6667}]};    networks["freenode"] = {        displayName:  "freenode",        isupportsKey: "",        servers: [{hostname: "irc.freenode.net", port:6667}]};    networks["serenia"] = {        displayName:  "serenia",        isupportsKey: "",        servers: [{hostname: "chat.serenia.net", port:9999, isSecure: true}]};    networks["efnet"] = {        displayName:  "efnet",        isupportsKey: "",        servers: [{hostname: "irc.prison.net", port: 6667},                  {hostname: "irc.magic.ca", port: 6667}]};    networks["hispano"] = {        displayName:  "hispano",        isupportsKey: "",        servers: [{hostname: "irc.irc-hispano.org", port: 6667}]};    for (var name in networks)        networks[name].name = name;    var builtInNames = keys(networks);    var userNetworkList = new Array();    // Load the user's network list.    var networksFile = new nsLocalFile(client.prefs["profilePath"]);    networksFile.append("networks.txt");    if (networksFile.exists())    {        var networksLoader = new TextSerializer(networksFile);        if (networksLoader.open("<"))        {            var item = networksLoader.deserialize();            if (isinstance(item, Array))                userNetworkList = item;            else                dd("Malformed networks file!");            networksLoader.close();        }    }    // Merge the user's network list with the default ones.    for (var i = 0; i < userNetworkList.length; i++)        networks[userNetworkList[i].name] = userNetworkList[i];    /* Flag up all networks that are built-in, so they can be handled properly.     * We need to do this last so that it ensures networks overridden by the     * user's networks.txt are still flagged properly.     */    for (var i = 0; i < builtInNames.length; i++)        networks[builtInNames[i]].isBuiltIn = true;    // Push network list over to client.networkList.    client.networkList = new Array();    for (var name in networks)        client.networkList.push(networks[name]);    // Sync to client.networks.    networksSyncFromList();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5c62be847990c51c454ec9b76f4770f1db4521d1/networks.js/clean/extensions/irc/xul/content/networks.js