From 8875cc7419dae5d56c4d09e7d8321e5bfb1057c7 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Tue, 26 Jun 2018 05:03:45 -0500 Subject: [PATCH] remove duplicate check --- src/Util/Network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Network.php b/src/Util/Network.php index 2bc2203dd2..c3ecaf6060 100644 --- a/src/Util/Network.php +++ b/src/Util/Network.php @@ -495,7 +495,7 @@ class Network if (($h) && (dns_get_record($h, DNS_A + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) { return true; } - if (($h) && (dns_get_record($h, DNS_CNAME + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) { + if (($h) && dns_get_record($h, DNS_CNAME + DNS_MX)) { return true; } return false; -- 2.39.5