summaryrefslogtreecommitdiff
path: root/src/lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lists.c')
-rw-r--r--src/lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lists.c b/src/lists.c
index 0a308c0..ea35cea 100644
--- a/src/lists.c
+++ b/src/lists.c
@@ -171,7 +171,7 @@ int lists_test(const char *revdns, const char *whois)
!strstr(revdns, entry->pattern))
continue;
- if (entry->type == ENTRY_WHOIS &&
+ if (whois && entry->type == ENTRY_WHOIS &&
!strstr(whois, entry->pattern))
continue;