rem: client.wantToQuit(e.reason); 
add:  if (!("getConnectionCount" in client) || (client.getConnectionCount() == 0)) { client.userClose = true; window.close(); return; }   client.wantToQuit(e.reason, true); 
context: function cmdQuit(e){    client.wantToQuit(e.reason);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa290e7cdda14a16c1ee2497dbf2b1602c8187df/commands.js/buggy/extensions/irc/xul/content/commands.js