From db1f0e9446e67168668ec15440c6a55f0e6234b4 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 19 May 2011 17:37:23 +1000 Subject: replaced tor detection with DNSBL --- post.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'post.php') diff --git a/post.php b/post.php index 87ddf21b..478f157b 100644 --- a/post.php +++ b/post.php @@ -41,8 +41,7 @@ // Check if banned checkBan(); - if($config['block_tor'] && isTor()) - error($config['error']['tor']); + checkDNSBL(); // Check if board exists if(!openBoard($_POST['board'])) @@ -102,8 +101,7 @@ // Check if banned checkBan(); - if($config['block_tor'] && isTor()) - error($config['error']['tor']); + checkDNSBL(); // Check if board exists if(!openBoard($_POST['board'])) @@ -179,8 +177,7 @@ // Check if banned checkBan(); - if($config['block_tor'] && isTor()) - error($config['error']['tor']); + checkDNSBL(); // Check if board exists if(!openBoard($post['board'])) -- cgit v1.3