When the Join Channel dialog opens and fetches the list of channels, or the user hits Refresh, the following get displayed in the main ChatZilla window: [INFO] List reply will appear on the “moznet” view. === Channel Users Name === End of /LIST [INFO] Displayed 0 of 140 channels. Obviously, the 140 channel items themselves got saved to the file, but we need to supress all the other messages when saving to a file, including any errors (though they should be placed into the _list object).
Created attachment 249260 [details] [diff] [review] Patch There was an unload handler, except it was never attached to the window. That and checking for the dialog everywhere works. AFAICT, saveTo isn't really used anymore? Maybe I missed something though...
Comment on attachment 249260 [details] [diff] [review] Patch The checks for "saveTo" should be changed to "file" (see the setup code in CIRCNetwork.prototype.list).
Created attachment 249477 [details] [diff] [review] Patch Sure thing! :-)
Checking in mozilla/extensions/irc/xul/content/channels.xul; /cvsroot/mozilla/extensions/irc/xul/content/channels.xul,v <-- channels.xul new revision: 1.2; previous revision: 1.1 done Checking in mozilla/extensions/irc/xul/content/handlers.js; /cvsroot/mozilla/extensions/irc/xul/content/handlers.js,v <-- handlers.js new revision: 1.143; previous revision: 1.142 done