Skip to content

Commit 12626b0

Browse files
committed
Module bug-fix.
1 parent 5234639 commit 12626b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/module_botua.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
$CIDRAM['Reporter']->report([21], ['Caught attempting to expose honeypot via reporting mechanism.'], $CIDRAM['BlockInfo']['IPAddr']);
316316
} // 2022.05.08
317317

318-
$Trigger(preg_match(
318+
if ($Trigger(preg_match(
319319
'~80legs|' .
320320
'a(?:dbar|i2bot|ihitbot|i.?searchbot|liyun|ndibot|nonymous-?coward|wario)|' .
321321
'b(?:anana-?bot|edrockbot|ot-?test|rands-?bot|rightbot|ytespider)|' .

modules/modules.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module_bgpview.php:
203203
module_botua.php:
204204
Name: "Bot user agents module"
205205
False Positive Risk: "Medium"
206-
Version: "2025.204.0"
206+
Version: "2025.204.1"
207207
Dependencies:
208208
PHP: "^5.4|^7|^8"
209209
CIDRAM Core: "^1.13.1|^2.0.1"
@@ -215,7 +215,7 @@ module_botua.php:
215215
To:
216216
- "module_botua.php"
217217
Checksum:
218-
- "976c8e99a4ea64732c84908e6da706c08af399d780058777fc8b37c6065af8f0:27204"
218+
- "a32d612540d773dec4122dcb033036f3d083dc3965a84d637ec96fee3ce3d925:27208"
219219
Used with: "modules"
220220
Reannotate: "modules.dat"
221221
module_cookies.php:

0 commit comments

Comments
 (0)