rem: this.parent.eventPump.addEvent (new CEvent ("server", "senddata", this, "onSendData")); 
add: this.parent.eventPump.addEvent(new CEvent("server", "senddata", this, "onSendData")); 
context: function serv_onsenddata (e){    if (!this.isConnected)    {        dd ("Can't send to disconnected socket");        this.flushSendQueue();        return false;    }            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: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/703717eb72f3378c625c0fefe679e646d1c5b0ff/irc.js/buggy/js/lib/irc.js