This bot check is weird and keeps breaking when locales do

This commit is contained in:
8chan 2014-10-10 09:52:51 -07:00
parent a838e2986c
commit 95e99d75ba

View File

@ -209,7 +209,7 @@ if (isset($_POST['delete'])) {
if (!(($post['op'] && $_POST['post'] == $config['button_newtopic']) ||
(!$post['op'] && $_POST['post'] == $config['button_reply'])))
error($config['error']['bot']);
//error($config['error']['bot']);
// Check the referrer
if ($config['referer_match'] !== false &&