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, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index f5554c2..3402551 100644
--- a/index.js
+++ b/index.js
@@ -348,6 +348,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {
function _onseed (torrent) {
debug('on seed')
if (typeof onseed === 'function') onseed(torrent)
+ torrent.emit('seed')
self.emit('seed', torrent)
}