rem:  if (!this.connection.isConnected) { var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "unknown"; this.parent.eventPump.addEvent (ev); return false; } 
context: function serv_onsenddata (e){    var d = new Date();    if (!this.connection.isConnected)    {        var ev = new CEvent ("server", "disconnect", this,                             "onDisconnect");        ev.reason = "unknown";        this.parent.eventPump.addEvent (ev);        return false;    }    this.sendsThisRound = 0;    if (((d - this.lastSend) >= this.MS_BETWEEN_SENDS) &&        this.sendQueue.length > 0)                                {        var s = this.sendQueue.pop();                if (s)        {            //dd ("queued send: " + s);            this.connection.sendData (s);            this.lastSend = d;        }    }    else        this.parent.eventPump.addEvent (new CEvent ("event-pump", "yield",                                                    null, ""));    if (this.sendQueue.length > 0)        this.parent.eventPump.addEvent (new CEvent ("server", "senddata",                                                    this, "onSendData"));    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c46b95921693cb8de6eda99f303b9480c6079c8c/irc.js/buggy/extensions/irc/js/lib/irc.js