mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
wasn't aware of DNS function
This commit is contained in:
parent
1e95e58811
commit
aba8d27ace
@ -2275,7 +2275,7 @@ function rDNS($ip_addr) {
|
||||
|
||||
$isip = filter_var($host, FILTER_VALIDATE_IP);
|
||||
|
||||
if ($config['fcrdns'] && !$isip && gethostbyname($host) != $ip_addr) {
|
||||
if ($config['fcrdns'] && !$isip && DNS($host) != $ip_addr) {
|
||||
$host = $ip_addr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user