We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c02dd commit afcb6dfCopy full SHA for afcb6df
server.js
@@ -656,7 +656,7 @@ Server.prototype._onRequest = function (params, cb) {
656
657
Server.prototype._onAnnounce = function (params, cb) {
658
var self = this
659
-
+
660
if (self._filter) {
661
self._filter(params.info_hash, params, function (err) {
662
// Presence of `err` means that this announce request is disallowed
@@ -673,7 +673,7 @@ Server.prototype._onAnnounce = function (params, cb) {
673
announce(swarm)
674
})
675
}
676
677
// Get existing swarm, or create one if one does not exist
678
function getOrCreateSwarm (cb) {
679
self.getSwarm(params.info_hash, function (err, swarm) {
0 commit comments