forked from GithubBackups/vichan
Disable hash antispam (lazy - need to add an option later)
This commit is contained in:
parent
d5c975622e
commit
d5b551e682
4
post.php
4
post.php
@ -239,11 +239,11 @@ if (isset($_POST['delete'])) {
|
|||||||
error($config['error']['noaccess']);
|
error($config['error']['noaccess']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$post['mod']) {
|
/*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)));
|
$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)
|
if ($post['antispam_hash'] === true)
|
||||||
error($config['error']['spam']);
|
error($config['error']['spam']);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if ($config['robot_enable'] && $config['robot_mute']) {
|
if ($config['robot_enable'] && $config['robot_mute']) {
|
||||||
checkMute();
|
checkMute();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user