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:
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.js b/index.js
index 8e638ad..cd8f7d7 100644
--- a/index.js
+++ b/index.js
@@ -169,7 +169,6 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
if (torrent) {
if (torrent.ready) process.nextTick(_ontorrent)
else torrent.on('ready', _ontorrent)
-
} else {
torrent = new Torrent(torrentId, opts)
self.torrents.push(torrent)