rem: this.sentps = false; 
context: function Unregistered_Client(id,socket) {	////////// VARIABLES	// Bools/Flags that change depending on connection state.	this.pinged = false;	   // Sent PING?	this.sentps = false;	   // Sent PASS/SERVER?	this.local = true;	   // FIXME: this is redundant.	this.criteria_met = false; // Have we met registration criteria?	// Variables containing user/server information as we receive it.	this.id = id;	this.nick = "*";	this.realname = "";	this.uprefix = "";	this.hostname = "";	this.password = "";	this.ircclass = 0;	this.idletime = time();	this.ip = socket.remote_ip_address;	this.pending_resolve = false;	this.pending_resolve_time = time();	// Variables (consts, really) that point to various state information	this.socket = socket;	////////// FUNCTIONS	// Functions we use to control clients (specific)	this.work = Unregistered_Commands;	this.quit = Unregistered_Quit;	this.check_timeout = IRCClient_check_timeout;	this.check_sendq = IRCClient_check_sendq;	this.resolve_check = Unregistered_Resolve_Check;	this.welcome = Unregistered_Welcome;	// Output helper functions (shared)	this.rawout = rawout;	this.originatorout = originatorout;	this.ircout = ircout;	this.sendq = new IRC_Queue();	this.recvq = new IRC_Queue();	this.server_notice = IRCClient_server_notice;	this.check_nickname = IRCClient_check_nickname;	// Numerics (shared)	this.numeric = IRCClient_numeric;	this.numeric451 = IRCClient_numeric451;	this.numeric461 = IRCClient_numeric461;	this.numeric462 = IRCClient_numeric462;	////////// EXECUTION	// We're a local socket that must be polled.	Local_Sockets[id] = socket.descriptor;	Local_Sockets_Map[id] = this;	rebuild_socksel_array = true;	log(format("%04u",socket.descriptor)		+ " Accepted new connection: " + this.ip		+ " port " + socket.remote_port);	if ((this.ip.slice(0,4) == "127.") ||	    (this.ip.slice(0,3) == "10.") ||	    (this.ip.slice(0,8) == "192.168.") ||	    (this.ip.slice(0,7) == "172.16." )) {		this.hostname = servername;		this.pending_resolve_time = false;	} else {		this.pending_resolve = load(true,"dnshelper.js",this.ip);	}	this.server_notice("*** " + VERSION + " (" + serverdesc + ") Ready.");}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/5ba03c6eb6bbc4183b83bc4c04000dd2ef0bd7e0/ircd_unreg.js/buggy/load/ircd_unreg.js