rem: if (client.networks[n].isConnected()) client.networks[n].quit(reason); 
add: net = client.networks[n]; if (net.isConnected()) { netReason = (reason ? reason : net.prefs["defaultQuitMsg"]); netReason = (netReason ? netReason : client.userAgent); net.quit(netReason); } 
context: function cli_quit (reason){    for (var n in client.networks)    {        if (client.networks[n].isConnected())            client.networks[n].quit(reason);    }}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/57e7a4baebb9370b2fce4f08b08a3a9315d874c9/static.js/clean/xul/content/static.js