Simple anti-spam mechanism
This commit is contained in:
5
post.php
5
post.php
@@ -558,6 +558,11 @@ if (isset($_POST['delete'])) {
|
||||
|
||||
|
||||
if (!$dropped_post) {
|
||||
if (isset($config['simple_spam']) && $config['simple_spam'] && $post['op']) {
|
||||
if (!isset($_POST['simple_spam']) || $config['simple_spam']['answer'] != $_POST['simple_spam']) {
|
||||
error($config['error']['simple_spam']);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if banned
|
||||
checkBan($board['uri']);
|
||||
|
||||
Reference in New Issue
Block a user