add:  if (client.userClose && client.getConnectionCount() == 0) window.close(); 
context: function my_neterror (e){    var msg = (this.connecting) ? "Could not connect to " :        "You are no longer connected to ";    this.display (msg + this.name + " (" +                  e.server.connection.host + ").", "ERROR");    this.connecting = false;    updateTitle();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d90b6eb73de7b69aea1f0a10eef21b2c02274a9/handlers.js/clean/extensions/irc/xul/content/handlers.js