add: if (!this.connection.isConnected) { dd ("Can't send to disconnected socket"); this.flushSendQueue(); return false; }  
context: function serv_onsenddata (e){    var d = new Date();    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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4fbc8db5e05d9bf177aa5aa12fe077bb2a8db05a/irc.js/buggy/extensions/irc/js/lib/irc.js