We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eedfbce commit fa5f276Copy full SHA for fa5f276
src/Middleware/BlockBots.php
@@ -199,8 +199,8 @@ public function passesBotRules()
199
// While the bot is on pending_list, it's unchecked, so we allow this bot to pass-thru
200
if (!Redis::sismember($this->options->pending_bot_list_key, $this->client->ip)) {
201
// If we got here, it is an unknown bot. Let's create a job to test it
202
- CheckIfBotIsReal::dispatch($this->client, $this->getAllowedBots(), $this->options);
203
Redis::sadd($this->options->pending_bot_list_key, $this->client->ip);
+ CheckIfBotIsReal::dispatch($this->client, $this->getAllowedBots(), $this->options);
204
}
205
206
return true;
0 commit comments