mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
typo in the code
This commit is contained in:
parent
e1e4808d3c
commit
d675e4a904
@ -1006,7 +1006,7 @@
|
||||
foreach($config['dnsbl'] as &$blacklist) {
|
||||
$lookup = $ip . '.' . $blacklist;
|
||||
$host = gethostbyname($lookup);
|
||||
if($host != $looku) {
|
||||
if($host != $lookup) {
|
||||
// On NXDOMAIN (meaning it's not in the blacklist), gethostbyname() returns the host unchanged.
|
||||
if(preg_match('/^127\.0\.0\./', $host) && $host != '127.0.0.10')
|
||||
error(sprintf($config['error']['dnsbl'], $blacklist));
|
||||
|
Loading…
x
Reference in New Issue
Block a user