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:
authorLinus Unnebäck <linus@folkdatorn.se>2015-08-14 23:39:03 +0300
committerLinus Unnebäck <linus@folkdatorn.se>2015-08-14 23:39:03 +0300
commitf0da56c346f19a9e16f1878f43fd902ced5f6ed3 (patch)
tree60dea73c03b5401d5de69a68fe448847475dbf3f /index.js
parentf5268b54a472ed8a52e71c0d8d837bbfcf35d5cc (diff)
adhere to padded-blocks
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)