diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-04-11 09:18:04 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-04-11 09:18:04 +0300 |
commit | b4ee1d4706eff6ccf8cf6b8c34f9ea424737a6f2 (patch) | |
tree | 6873f2525e05344a76d5ca9f076a7e851d25ab96 /lib/torrent.js | |
parent | 9cdb94e92feab5784f67f660816034a99cc0ee13 (diff) |
Breaking: rename "blocked-peer" event to "blockedPeer"
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 010f19f..6c65383 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -346,7 +346,7 @@ Torrent.prototype.addPeer = function (peer) { && self.client.blocked && self.client.blocked.contains(addrToIPPort(peer)[0])) { self.numBlockedPeers += 1 - self.emit('blocked-peer', peer) + self.emit('blockedPeer', peer) return false } else { self.emit('peer', peer) |