diff options
author | Rhys Williams <me@rhyswilliams.co.za> | 2020-10-16 13:00:25 +0300 |
---|---|---|
committer | Rhys Williams <me@rhyswilliams.co.za> | 2020-10-16 13:00:25 +0300 |
commit | 797a574de2ae303ac606ee8685faf52f66f8a49c (patch) | |
tree | 53cc2e1d50a4af607e0b54e74f58d33053fee51e /lib/torrent.js | |
parent | fe2acbcefc084f86f77e79a2b042878d2a998a27 (diff) |
Making Travis Happy
Diffstat (limited to 'lib/torrent.js')
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 2b5345b..131483a 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -1730,7 +1730,7 @@ class Torrent extends EventEmitter { ) const reconnectTimeout = setTimeout(() => { - if (this.destroyed) return; + if (this.destroyed) return const newPeer = this._addPeer(peer.addr, this.client.utp ? 'utp' : 'tcp') if (newPeer) newPeer.retries = peer.retries + 1 }, ms) |