rem: server_wallops("Connected!  Sending info.."); 
add: oper_notice("Routing","Connected!  Sending info..."); 
context: function connect_to_server(this_cline,the_port) {	if (!the_port && this_cline.port)		the_port = this_cline.port;	else if (!the_port)		the_port = "6667"; // try a safe default.	connect_sock = new Socket();	connect_sock.connect(this_cline.host,the_port,ob_sock_timeout);	if (connect_sock.is_connected) {		server_wallops("Connected!  Sending info..");		connect_sock.send("PASS " + this_cline.password + " :TS\r\n");		connect_sock.send("CAPAB " + server_capab + "\r\n");		connect_sock.send("SERVER " + servername + " 1 :" + serverdesc + "\r\n");		new_id = get_next_clientid();		Clients[new_id]=new IRCClient(connect_sock,new_id,true,true);		Clients[new_id].sentps = true;	}	this_cline.lastconnect = time();}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/1b4bf4abb0f049e0850e016972bcecbf126941b4/ircd.js/buggy/ircd.js