summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 36d3c96a..189bcd06 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1139,6 +1139,9 @@
if(!isset($_SERVER['REMOTE_ADDR']))
return; // Fix your web server configuration
+ if(in_array($_SERVER['REMOTE_ADDR'], $dnsbl_exceptions))
+ return;
+
$ip = ReverseIPOctets($_SERVER['REMOTE_ADDR']);
foreach($config['dnsbl'] as &$blacklist) {