1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-24 07:04:05 +01:00

finish stripping current antispam system

This commit is contained in:
Lorenzo Yario 2024-12-20 02:31:26 -06:00 committed by GitHub
parent b2ca26dba5
commit a376a5a2e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -712,12 +712,6 @@ if (isset($_POST['delete'])) {
error($config['error']['noaccess']); 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']) { if ($config['robot_enable'] && $config['robot_mute']) {
checkMute(); checkMute();
} }