mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
What?
This commit is contained in:
parent
ee40a90d69
commit
770606f92f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user