bittorrent-relay
Advanced tools
Comparing version 15.0.0 to 15.0.1
{ | ||
"name": "bittorrent-relay", | ||
"description": "Uses the mainline dht to relay requests to other trackers in a swarm", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"bin": { | ||
@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.js" |
@@ -527,14 +527,14 @@ import Debug from 'debug' | ||
} else { | ||
this.relay.lookup(test, (err, num) => { | ||
this.relay.announce(test, this.port, (err) => { | ||
if(err){ | ||
this.emit('error', err) | ||
} else { | ||
this.emit('ev', test + ': ' + num) | ||
this.emit('ev', 'announced: ' + test) | ||
} | ||
}) | ||
this.relay.announce(test, this.port, (err) => { | ||
this.relay.lookup(test, (err, num) => { | ||
if(err){ | ||
this.emit('error', err) | ||
} else { | ||
this.emit('ev', 'announced: ' + test) | ||
this.emit('ev', test + ': ' + num) | ||
} | ||
@@ -541,0 +541,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package