Przeglądaj źródła

clientareafunctions

andre 3 lat temu
rodzic
commit
ba8ea3557f
1 zmienionych plików z 9 dodań i 8 usunięć
  1. 9 8
      cwp7.php

+ 9 - 8
cwp7.php

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