summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-05-19 18:20:10 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-05-19 18:20:10 +1000
commit3787fa82594213136d018c21c754b7066dd73db1 (patch)
tree11a0808c72b8bd9f0b2e88194e1b63e59d95286f
parentc060673bd1ba597c4c80f3a18fd5c47e11a4e120 (diff)
typo in the code
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 3fa99021..5424683c 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1006,7 +1006,7 @@
foreach($config['dnsbl'] as &$blacklist) {
$lookup = $ip . '.' . $blacklist;
$host = gethostbyname($lookup);
- if($host != $looku) {
+ if($host != $lookup) {
// On NXDOMAIN (meaning it's not in the blacklist), gethostbyname() returns the host unchanged.
if(preg_match('/^127\.0\.0\./', $host) && $host != '127.0.0.10')
error(sprintf($config['error']['dnsbl'], $blacklist));