forked from RepoMirrors/kami-blue
10 instead of 5
This commit is contained in:
parent
95af92e4a0
commit
7e0c7e599e
|
@ -67,7 +67,7 @@ public class AntiChatSpam extends Module {
|
|||
messageHistory
|
||||
.entrySet()
|
||||
.stream()
|
||||
.filter(entry -> entry.getValue() < System.currentTimeMillis() - 5 * 60 * 1000) // 5 is delay in minutes
|
||||
.filter(entry -> entry.getValue() < System.currentTimeMillis() - 10 * 60 * 1000) // 5 is delay in minutes
|
||||
.collect(Collectors.toList())
|
||||
.forEach(entry -> messageHistory.remove(entry.getKey()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue