summaryrefslogtreecommitdiff
path: root/dns.php
diff options
context:
space:
mode:
Diffstat (limited to 'dns.php')
-rw-r--r--dns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns.php b/dns.php
index ffb7654..fa4a1fc 100644
--- a/dns.php
+++ b/dns.php
@@ -32,7 +32,7 @@ function getzone($domain, $password) {
$zonelines = explode("\n", $string);
$zonehash = explode(" ", $zonelines[0]);
- if ($zonehash[sizeof($zonehash) - 1] == $password) {
+ if (strtolower($zonehash[sizeof($zonehash) - 1]) == strtolower($password)) {
return $string;
} else {
return;