summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/anti-bot.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/inc/anti-bot.php b/inc/anti-bot.php
index 3959b054..9260b237 100644
--- a/inc/anti-bot.php
+++ b/inc/anti-bot.php
@@ -196,11 +196,6 @@ function _create_antibot($board, $thread) {
$query->bindValue(':hash', $antibot->hash());
$query->execute() or error(db_error($query));
- if ($query->rowCount() == 0) {
- // there was no database entry for this hash. most likely expired.
- return true;
- }
-
return $antibot;
}