rem: var ev = new CEvent("network", "do-connect", this, "onDoConnect"); this.eventPump.addEvent(ev); 
add: this.immediateConnect(); 
context: function net_cancel(){    if (this.state == NET_ONLINE)    {        // Pull the plug on the current connection, or...        this.quit();    }    else if ((this.state == NET_CONNECTING) || (this.state == NET_WAITING))    {        this.state = NET_CANCELLING;        // ...try a reconnect (which will fail us).        var ev = new CEvent("network", "do-connect", this, "onDoConnect");        this.eventPump.addEvent(ev);    }    else    {        dd("Network cancel in odd state: " + this.state);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d1e544168badeeb25b46a5d1a1da2d29c388481d/irc.js/buggy/extensions/irc/js/lib/irc.js