diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-18 06:58:20 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-18 06:58:20 +1100 |
| commit | fb5fc0459906513fcc96bfb506ee13a949782ca8 (patch) | |
| tree | d39ba964b352024e529958f79582082fe9888ad7 /inc | |
| parent | 1a3a363c7d554efd4e4d40494d82b66da0509948 (diff) | |
Small DNSBL fix
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } } |
