add: if ((-1 != this.MAX_CONNECT_ATTEMPTS) && (this.connectAttempt >= this.MAX_CONNECT_ATTEMPTS)) { this.state = NET_OFFLINE;  var ev = new CEvent("network", "error", this, "onError"); ev.debug = "Connection attempts exhausted, giving up."; ev.errorCode = JSIRC_ERR_EXHAUSTED; this.eventPump.addEvent(ev);  return; }  
context: function net_delayedConnect(eventProperties){    function reconnectFn(network, eventProperties)    {        network.immediateConnect(eventProperties);    };    this.state = NET_WAITING;    this.reconnectTimer = setTimeout(reconnectFn,                                     this.getReconnectDelayMs(),                                     this,                                     eventProperties);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/68f08233a0c086d6a42e5fd7e006739c65ce5fc5/irc.js/clean/extensions/irc/js/lib/irc.js