@@ -339,14 +339,15 @@ function cwp7CheckDNS($domain, $serverIP) {
}
$domainA = $result->answer;
if($domainA[0]->address == $serverIP){
+
+ logModuleCall(
+ 'cwp7',
+ __FUNCTION__,
+ $domainA,
+ 'debug',
+ $result
+ );
return true;
-
- logModuleCall(
- 'cwp7',
- __FUNCTION__,
- $domainA,
- 'debug',
- $result
- );