forked from leftypol/leftypol
replaced tor detection with DNSBL
This commit is contained in:
parent
99ed879e17
commit
db1f0e9446
3 changed files with 26 additions and 29 deletions
9
post.php
9
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']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue