diff --git a/lib/bot_protection.php b/lib/bot_protection.php index e3d51a8..af66f5e 100644 --- a/lib/bot_protection.php +++ b/lib/bot_protection.php @@ -132,6 +132,8 @@ class bot_protection{ $answers[] = $regex; } + // dedup + $answers = array_unique($answers); if( !$invalid &&