From fb5fc0459906513fcc96bfb506ee13a949782ca8 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sun, 18 Mar 2012 06:58:20 +1100 Subject: [PATCH] Small DNSBL fix --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index fff5b3f8..25ff89b5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1328,7 +1328,7 @@ if($blacklist[1]($ip)) error(sprintf($config['error']['dnsbl'], $blacklist_name)); } else { - if($ip == $blacklist[1] || $ip == '127.0.0.' . $blacklist_name) + if($ip == $blacklist[1] || $ip == '127.0.0.' . $blacklist[1]) error(sprintf($config['error']['dnsbl'], $blacklist_name)); } }