1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-18 03:37:35 +01:00

Disable hash antispam (lazy - need to add an option later)

This commit is contained in:
8chan 2014-09-26 23:53:25 +00:00
parent d5c975622e
commit d5b551e682

View File

@ -239,11 +239,11 @@ if (isset($_POST['delete'])) {
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)));
if ($post['antispam_hash'] === true)
error($config['error']['spam']);
}
}*/
if ($config['robot_enable'] && $config['robot_mute']) {
checkMute();