mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-23 22:54:11 +01:00
finish stripping current antispam system
This commit is contained in:
parent
b2ca26dba5
commit
a376a5a2e3
6
post.php
6
post.php
@ -712,12 +712,6 @@ if (isset($_POST['delete'])) {
|
||||
error($config['error']['noaccess']);
|
||||
}
|
||||
|
||||
if (!$post['mod']) {
|
||||
$post['antispam_hash'] = checkSpam(array($board['uri'], isset($post['thread']) ? $post['thread'] : ($config['try_smarter'] && isset($_POST['page']) ? 0 - (int)$_POST['page'] : null)));
|
||||
if ($post['antispam_hash'] === true)
|
||||
error($config['error']['spam']);
|
||||
}
|
||||
|
||||
if ($config['robot_enable'] && $config['robot_mute']) {
|
||||
checkMute();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user