1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-26 06:58:26 +01:00

Revert "revert trimming and this somehow fixes the antibot issues??????"

This commit is contained in:
Lorenzo Yario 2024-09-19 01:32:49 -07:00 committed by GitHub
parent ccfcd03c95
commit c1788d0792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,7 +123,7 @@ class AntiBot {
$html = ''; $html = '';
if ($count === false) { if ($count === false) {
$count = mt_rand(1, abs(count($this->inputs) / 15) + 1); $count = mt_rand(1, (int)abs(count($this->inputs) / 15) + 1);
} }
if ($count === true) { if ($count === true) {