replaced tor detection with DNSBL

This commit is contained in:
Savetheinternet 2011-05-19 17:37:23 +10:00
parent 99ed879e17
commit db1f0e9446
3 changed files with 26 additions and 29 deletions

View file

@ -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']))