Commit 54d02f3c authored by Georg Koppen's avatar Georg Koppen
Browse files

Fixup for bug 10216

parent dc2fae0f
......@@ -1913,7 +1913,7 @@ function torbutton_do_tor_check()
let checkSvc = Cc["@torproject.org/torbutton-torCheckService;1"]
.getService(Ci.nsISupports).wrappedJSObject;
if (checkSvc.kCheckNotInitiated != checkSvc.statusOfTorCheck ||
!m.tb_prefs.getBoolPref("extensions.torbutton.test_enabled"))
!m_tb_prefs.getBoolPref("extensions.torbutton.test_enabled"))
return; // Only do the check once.
// If we have a tor control port and transparent torification is off,
......
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