rem: net.serverList = [{name: ary[1], port: ary[2]}];  client.onInputAttach ({inputData: ary[1] + " " + pass});  
add: { /* if we've already created a network for this server, reinit the * serverList, in case the user changed the port or password */ net.serverList = [{name: ary[1], port: port, password: pass}]; }  client.connectToNetwork (ary[1]); 
context: function cli_iserver (e){    if (!e.inputData)        return false;    var ary = e.inputData.match(/^([^\s\:]+)[\s\:]?(\d+)? ?(\S+)?/);    var pass = (ary[2]) ? ary[2] : "";        if (ary == null)        return false;    if (!ary[2])        ary[2] = 6667;    var net = null;        for (var n in client.networks)        if (n == ary[1])            if (client.networks[n].isConnected())            {                client.currentObject.display (getMsg("cli_iserverMsg",ary[1]),                                              "ERROR");                return false;            }            else            {                net = client.networks[n];                break;            }    if (!net)        client.networks[ary[1]] =            new CIRCNetwork (ary[1], [{name: ary[1], port: ary[2]}],                             client.eventPump);    else        net.serverList = [{name: ary[1], port: ary[2]}];        client.onInputAttach ({inputData: ary[1] + " " + pass});        return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0d1a83beabf85d1bbf715013aa931f56c2bfb948/handlers.js/buggy/extensions/irc/xul/content/handlers.js