1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

Small DNSBL fix

This commit is contained in:
Michael Save 2012-03-18 06:58:20 +11:00
parent 1a3a363c7d
commit fb5fc04599

View File

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