aboutsummaryrefslogtreecommitdiff
path: root/modules/dnsbl/lists.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-08-07 16:43:45 +0000
committerGravatar jesopo2020-08-07 16:43:45 +0000
commit4fa05245b309e7bf7a3610f6503150810cf24cd5 (patch)
tree8e1360cb51d358c08a1ff07ef0da7c52fd34d7c9 /modules/dnsbl/lists.py
parentstrip @ from @dnsbl (diff)
signature
return raw result, not "unknown" for ad-hoc dnsbls
Diffstat (limited to 'modules/dnsbl/lists.py')
-rw-r--r--modules/dnsbl/lists.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dnsbl/lists.py b/modules/dnsbl/lists.py
index e3bab34a..b84628ea 100644
--- a/modules/dnsbl/lists.py
+++ b/modules/dnsbl/lists.py
@@ -6,7 +6,7 @@ class DNSBL(object):
self.hostname = hostname
def process(self, result: str):
- return "unknown"
+ return result
class ZenSpamhaus(DNSBL):
hostname = "zen.spamhaus.org"