Adding permission node to speak, with config option to enable the node

This commit is contained in:
Chris Ward 2012-12-24 01:55:53 +11:00
parent 99c750d18b
commit 6b18259af6
17 changed files with 30 additions and 0 deletions

View file

@ -1014,4 +1014,10 @@ public class Settings implements ISettings
{
return config.getLong("max-tempban-time", -1);
}
@Override
public boolean isChatPermEnabled()
{
return config.getBoolean("enable-chat-perm", false);
}
}