Implement max mute time feature (#2807)

This commit is contained in:
pop4959 2020-03-14 15:12:43 -07:00 committed by GitHub
parent 347179373d
commit 338b371e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 11 deletions

View file

@ -1133,6 +1133,11 @@ public class Settings implements net.ess3.api.ISettings {
return permissionsLagWarning;
}
@Override
public long getMaxMute() {
return config.getLong("max-mute-time", -1);
}
@Override
public long getMaxTempban() {
return config.getLong("max-tempban-time", -1);