forked from leftypol/leftypol
don't use CRC32
This commit is contained in:
parent
a340c5b6ee
commit
de347f0387
3 changed files with 5 additions and 3 deletions
|
@ -190,7 +190,7 @@ function _create_antibot($board, $thread) {
|
|||
$query->bindValue(':expires', $config['spam']['hidden_inputs_expire']);
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
$query = prepare('INSERT INTO `antispam` VALUES (:board, :thread, CRC32(:hash), UNIX_TIMESTAMP(), NULL, 0)');
|
||||
$query = prepare('INSERT INTO `antispam` VALUES (:board, :thread, :hash, UNIX_TIMESTAMP(), NULL, 0)');
|
||||
$query->bindValue(':board', $board);
|
||||
$query->bindValue(':thread', $thread);
|
||||
$query->bindValue(':hash', $antibot->hash());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue