1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00
This commit is contained in:
Michael Save 2012-04-21 12:42:21 +10:00
parent 6360b6a98a
commit 6ec0fbd5ff

View File

@ -196,11 +196,6 @@ function _create_antibot($board, $thread) {
$query->bindValue(':hash', $antibot->hash()); $query->bindValue(':hash', $antibot->hash());
$query->execute() or error(db_error($query)); $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; return $antibot;
} }