rem:  network.connectAttempt = network.MAX_CONNECT_ATTEMPTS + 1; display(getMsg(MSG_CANCELLING, network.name)); network.dispatch("disconnect"); 
add:  network.cancelConnect = true; display(getMsg(MSG_CANCELLING, network.unicodeName)); if (network.isConnected()) {  network.dispatch("disconnect"); } else {  var ev = new CEvent("network", "do-connect", network, "onDoConnect"); network.eventPump.addEvent(ev); } 
context: function cmdCancel(e){    var network = e.network;        if (!network.connecting)    {        display(MSG_NOTHING_TO_CANCEL, MT_ERROR);        return;    }        network.connectAttempt = network.MAX_CONNECT_ATTEMPTS + 1;    display(getMsg(MSG_CANCELLING, network.name));    network.dispatch("disconnect");}    
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4cd3ec76af2e3a9922c2d114bf4267b40b388ac2/commands.js/clean/extensions/irc/xul/content/commands.js