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)); } }