summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-05-19 17:37:23 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-05-19 17:37:23 +1000
commitdb1f0e9446e67168668ec15440c6a55f0e6234b4 (patch)
tree41684e948a9588e32640b9533c1b1fc22da0df47 /post.php
parent99ed879e17e56f089809a6ae695d909fa57da589 (diff)
replaced tor detection with DNSBL
Diffstat (limited to 'post.php')
-rw-r--r--post.php9
1 files changed, 3 insertions, 6 deletions
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']))