Fix anti bot reading the correct values

This commit is contained in:
games647 committed 2022-06-18 18:08:40 +02:00
1 parent fb32f0b386
commit 10785b32ac
5 files changed
+6 -6

No files matched your search

@@ -151,8 +151,8 @@ public class FastLoginCore<P extends C, C, T extends PlatformPlugin<C>> {
return () -> true;
}
int maxCon = botSection.getInt("anti-bot.connections", 200);
long expireTime = botSection.getLong("anti-bot.expire", 5) * 60 * 1_000L;
int maxCon = botSection.getInt("connections", 200);
long expireTime = botSection.getLong("expire", 5) * 60 * 1_000L;
if (expireTime > MAX_EXPIRE_RATE) {
expireTime = MAX_EXPIRE_RATE;
}