commit 43bd758af98811d3b22a5ce075a5bb65e9872e89 Author: Arturo Filastò hellais@gmail.com Date: Tue Apr 3 14:16:51 2012 -0700
Avoid setting badexit model attribute to false when true --- js/models/relay.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/js/models/relay.js b/js/models/relay.js index 21eb6c2..ccefeec 100644 --- a/js/models/relay.js +++ b/js/models/relay.js @@ -19,8 +19,6 @@ define([ if (flag == "BadExit") { model.set({badexit: true}); output.push([flag, "denied_"+size[0]]); - } else { - model.set({badexit: false}); } if (flag == "Fast") { output.push([flag,"bolt_"+size[0]]); @@ -143,6 +141,7 @@ define([ relay.countryname = CountryCodes[relay.country]; relay.uptime = model.parsedate(relay.last_restarted); relay.uptime_hr = relay.uptime.hr; + model.set({badexit: false}); //console.log(relay.uptime.hrfull); relay.uptime_hrfull = relay.uptime.hrfull; relay.uptime = relay.uptime.millisecs;
tor-commits@lists.torproject.org