diff options
author | hackademix <giorgio@maone.net> | 2019-04-12 01:26:11 +0200 |
---|---|---|
committer | hackademix <giorgio@maone.net> | 2019-04-12 01:26:11 +0200 |
commit | 0aacfa705e307286aa87861de5442785b1b51f65 (patch) | |
tree | fea981b071d8b3c651b04a398c1cd4d325b09df3 /bg | |
parent | 2bee3260b45b559eb3bc75c6421dc7e573571cdb (diff) |
More consistent and efficient blacklisting.
Diffstat (limited to 'bg')
-rw-r--r-- | bg/ResponseProcessor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bg/ResponseProcessor.js b/bg/ResponseProcessor.js index 1aa89de..2c613c9 100644 --- a/bg/ResponseProcessor.js +++ b/bg/ResponseProcessor.js @@ -78,7 +78,7 @@ class ResponseTextFilter { let res = await handler.pre(response); if (res) return res; if (handler.post) handler = handler.post; - if (typeof handler !== "function") ResponseProcessor.ACCEPT; + if (typeof handler !== "function") return ResponseProcessor.ACCEPT; } let {requestId, responseHeaders} = request; |