[Fix] Fixes drtshock/Essentials#189, adds toggleable config option 'ignore-colors-in-max-nick-length' to exclude ChatColors from nickname length

This commit is contained in:
Matthew Steglinski 2015-10-27 22:37:33 -04:00
parent d4ab25b200
commit 77eb430b0b
4 changed files with 17 additions and 1 deletions

View file

@ -1046,6 +1046,11 @@ public class Settings implements net.ess3.api.ISettings {
return config.getInt("max-nick-length", 30);
}
@Override
public boolean ignoreColorsInMaxLength() {
return config.getBoolean("ignore-colors-in-max-nick-length", false);
}
private boolean allowSilentJoin;
public boolean _allowSilentJoinQuit() {