Commit 291ff7b1 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't load() 822header.js unless we're exporting messages

822header.js adds an enumerable method to the header object which ends up in the output when using the -hdrs option/command.

This addresses issue #277

Note: this is not actually a supported or documented script.
parent 4a82e024
......@@ -3,7 +3,6 @@
"use strict";
function show_index(msgbase, first_msg, last_msg, include_votes)
......@@ -61,6 +60,7 @@ function export_msgs(msgbase, option)
var errors = 0;
var hdrs = msgbase.get_all_msg_headers(option.votes);
var i;
for(i in hdrs) {
var msg = hdrs[i];
var fname = system.temp_dir + basecode + "_" + msg.number + ".txt";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment