aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-14 15:10:01 +0100
committerChocobozzz <me@florianbigard.com>2021-01-15 10:23:40 +0100
commit53d43fc9147059f3d265140e025a6ebd802481dc (patch)
treebc8b0f7818793590c90134b40c8720d31bd2ca35
parent56f0876184a792cff3c6123c95d9e52eaa450a28 (diff)
downloadPeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.tar.gz
PeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.tar.zst
PeerTube-53d43fc9147059f3d265140e025a6ebd802481dc.zip
Remove unused tracker param
-rw-r--r--server/controllers/tracker.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts
index 42a5d7f9b..915981f67 100644
--- a/server/controllers/tracker.ts
+++ b/server/controllers/tracker.ts
@@ -22,7 +22,6 @@ const trackerServer = new TrackerServer({
22 http: false, 22 http: false,
23 udp: false, 23 udp: false,
24 ws: false, 24 ws: false,
25 dht: false,
26 filter: async function (infoHash, params, cb) { 25 filter: async function (infoHash, params, cb) {
27 if (CONFIG.TRACKER.ENABLED === false) { 26 if (CONFIG.TRACKER.ENABLED === false) {
28 return cb(new Error('Tracker is disabled on this instance.')) 27 return cb(new Error('Tracker is disabled on this instance.'))