rem:  if ((network.state != NET_CONNECTING) && (network.state != NET_WAITING)) 
add:  if ((network.state == NET_ONLINE) && network.isRunningList()) {  display(MSG_CANCELLING_LIST); network.abortList(); } else if ((network.state == NET_CONNECTING) || (network.state == NET_WAITING)) {  display(getMsg(MSG_CANCELLING, network.unicodeName)); network.cancel(); } else 
context: function cmdCancel(e){    var network = e.network;    if ((network.state != NET_CONNECTING) && (network.state != NET_WAITING))    {        display(MSG_NOTHING_TO_CANCEL, MT_ERROR);        return;    }    display(getMsg(MSG_CANCELLING, network.unicodeName));    network.cancel();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/75f83719deab3e8dffd36bc351db0cbdeb90d196/commands.js/clean/extensions/irc/xul/content/commands.js