anti-bot.php: include missing variable

This commit is contained in:
Zankaria 2024-12-17 17:18:03 +01:00
parent b197c9ed43
commit 1d41ffbe4f

View file

@ -196,7 +196,7 @@ function _create_antibot($pdo, $board, $thread) {
$antibot = new AntiBot(array($board, $thread));
try {
retry_on_deadlock(3, function() use ($config, $pdo, $thread, $board, $antibot) {
retry_on_deadlock(3, function() use ($config, $pdo, $thread, $board, $antibot, $purged_old_antispam) {
try {
$pdo->beginTransaction();