Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulen Garcia Leunda <hicom150@gmail.com>2020-11-14 19:41:05 +0300
committerJulen Garcia Leunda <hicom150@gmail.com>2020-11-14 19:41:05 +0300
commit462eccb6e47c4440332d6ed2a1110516cf77bd80 (patch)
tree1b914dd0b7287d3a9b608af50e4e4fa77e988af6 /index.js
parenta89f269cd838e54440eac87769a9c23b8d6b0f20 (diff)
Fix review suggestions
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 9544691..9df53e1 100644
--- a/index.js
+++ b/index.js
@@ -70,7 +70,7 @@ class WebTorrent extends EventEmitter {
this.torrentPort = opts.torrentPort || 0
this.dhtPort = opts.dhtPort || 0
this.tracker = opts.tracker !== undefined ? opts.tracker : {}
- this.lsd = opts.lsd === true
+ this.lsd = opts.lsd !== false
this.torrents = []
this.maxConns = Number(opts.maxConns) || 55
this.utp = opts.utp === true