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.httplog = null;
|
||||
self.infogetter = null;
|
||||
self.torblocker = null;
|
||||
self.servers = {};
|
||||
self.ioServers = {};
|
||||
|
||||
|
@ -109,11 +108,6 @@ var Server = function () {
|
|||
|
||||
// background tasks init ----------------------------------------------
|
||||
require("./bgtask")(self);
|
||||
|
||||
// tor blocker init ---------------------------------------------------
|
||||
if (Config.get("enable-tor-blocker")) {
|
||||
self.torblocker = require("./torblocker")();
|
||||
}
|
||||
};
|
||||
|
||||
Server.prototype.getHTTPIP = function (req) {
|
||||
|
|
Loading…
Reference in New Issue