aboutsummaryrefslogtreecommitdiff
path: root/chrome/code
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/code')
-rw-r--r--chrome/code/redirector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/code/redirector.js b/chrome/code/redirector.js
index f4b2093..df2a25b 100644
--- a/chrome/code/redirector.js
+++ b/chrome/code/redirector.js
@@ -65,7 +65,7 @@ Redirector = {
fileStream.init(file, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0644, 0);
var stream = Cc["@mozilla.org/intl/converter-output-stream;1"].createInstance(Ci.nsIConverterOutputStream);
stream.init(fileStream, "UTF-8", 16384, Ci.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER);
- var rjson = { globalExcludePattern : '', createdBy : 'Redirector v' + RedirectorPrefs.version, redirects :[]};
+ var rjson = { globalExcludePattern : '', createdBy : 'Redirector v' + this._prefs.version, redirects :[]};
for each (var re in this._list) {
rjson.redirects.push(re.toObject());
}