From 1d41ffbe4f1acf2c12febe290a33507d7042fab0 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 17 Dec 2024 17:18:03 +0100 Subject: [PATCH] anti-bot.php: include missing variable --- inc/anti-bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/anti-bot.php b/inc/anti-bot.php index 7a76b5cd..cf82dcc8 100644 --- a/inc/anti-bot.php +++ b/inc/anti-bot.php @@ -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();