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 'lib/server.js')
-rw-r--r--lib/server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/server.js b/lib/server.js
index cc8bd88..8b57e76 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -20,6 +20,7 @@ function Server (torrent, opts = {}) {
server.on('connection', onConnection)
server.on('request', onRequest)
_listen.apply(server, args)
+ return server;
}
server.close = cb => {