forked from leftypol/leftypol
post.php: limit post history check to IPv4 as a workaround to #49
This commit is contained in:
parent
c8d84afa07
commit
7ad17bbee1
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -932,7 +932,7 @@ function handle_post()
|
||||||
// Check if banned
|
// Check if banned
|
||||||
checkBan($board['uri']);
|
checkBan($board['uri']);
|
||||||
|
|
||||||
if ($config['op_require_history'] && $post['op']) {
|
if ($config['op_require_history'] && $post['op'] && !isIPv6()) {
|
||||||
$has_any = has_any_history($_SERVER['REMOTE_ADDR']);
|
$has_any = has_any_history($_SERVER['REMOTE_ADDR']);
|
||||||
if (!$has_any) {
|
if (!$has_any) {
|
||||||
error($config['error']['opnohistory']);
|
error($config['error']['opnohistory']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue