peer: fix tryAnnounce.

This commit is contained in:
Christopher Jeffrey 2016-11-27 23:54:08 -08:00
parent 1997864ec2
commit c7b7678f8a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -515,7 +515,7 @@ Peer.prototype.isLoader = function isLoader() {
*/
Peer.prototype.tryAnnounce = function tryAnnounce(items) {
return this.announce().catch(util.nop);
return this.announce(items).catch(util.nop);
};
/**