mirror of https://github.com/calzoneman/sync.git
Remove torblocker dependency
This commit is contained in:
parent
8fddbc3e6e
commit
6b9968a489
|
@ -55,7 +55,6 @@ var Server = function () {
|
||||||
self.announcement = null;
|
self.announcement = null;
|
||||||
self.httplog = null;
|
self.httplog = null;
|
||||||
self.infogetter = null;
|
self.infogetter = null;
|
||||||
self.torblocker = null;
|
|
||||||
self.servers = {};
|
self.servers = {};
|
||||||
self.ioServers = {};
|
self.ioServers = {};
|
||||||
|
|
||||||
|
@ -109,11 +108,6 @@ var Server = function () {
|
||||||
|
|
||||||
// background tasks init ----------------------------------------------
|
// background tasks init ----------------------------------------------
|
||||||
require("./bgtask")(self);
|
require("./bgtask")(self);
|
||||||
|
|
||||||
// tor blocker init ---------------------------------------------------
|
|
||||||
if (Config.get("enable-tor-blocker")) {
|
|
||||||
self.torblocker = require("./torblocker")();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Server.prototype.getHTTPIP = function (req) {
|
Server.prototype.getHTTPIP = function (req) {
|
||||||
|
|
Loading…
Reference in New Issue