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 d502fb3 commit 474f1ffCopy full SHA for 474f1ff
server/index.js
@@ -175,8 +175,8 @@ class Server extends EventEmitter {
175
const self = this
176
177
if (this._filter) {
178
- const { allowed, info } = await this._filter(params.info_hash, params)
179
- if (!allowed) return info
+ const notAllowed = await this._filter(params.info_hash, params)
+ if (notAllowed) return notAllowed
180
}
181
182
const swarm = await this.getOrCreateSwarm(params)
0 commit comments