mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-16 20:01:46 +01:00
Fix automatic antibot (#2611)
This commit is contained in:
parent
63780e3f7c
commit
0d29c18ab4
@ -56,7 +56,7 @@ public class AntiBotService implements SettingsDependent {
|
|||||||
duration = settings.getProperty(ProtectionSettings.ANTIBOT_DURATION);
|
duration = settings.getProperty(ProtectionSettings.ANTIBOT_DURATION);
|
||||||
int sensibility = settings.getProperty(ProtectionSettings.ANTIBOT_SENSIBILITY);
|
int sensibility = settings.getProperty(ProtectionSettings.ANTIBOT_SENSIBILITY);
|
||||||
int interval = settings.getProperty(ProtectionSettings.ANTIBOT_INTERVAL);
|
int interval = settings.getProperty(ProtectionSettings.ANTIBOT_INTERVAL);
|
||||||
flaggedCounter = new AtomicIntervalCounter(sensibility, interval);
|
flaggedCounter = new AtomicIntervalCounter(sensibility, interval * 1000);
|
||||||
|
|
||||||
// Stop existing protection
|
// Stop existing protection
|
||||||
stopProtection();
|
stopProtection();
|
||||||
|
Loading…
Reference in New Issue
Block a user