From c5a52d2ce5e20323c516c0cddb24f3ca3b77d05a Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 14 Aug 2014 21:45:25 -0500 Subject: [PATCH] Fix wrong scope on ipList --- lib/tor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tor.js b/lib/tor.js index 095f143c..09e00e0e 100644 --- a/lib/tor.js +++ b/lib/tor.js @@ -75,5 +75,5 @@ getTorIPs(function (err, ips) { }); exports.isTorExit = function (ip) { - return this._ipList.indexOf(ip) >= 0; + return _ipList.indexOf(ip) >= 0; };