2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-05-03 11:40:29 +00:00

Remove the canonical glist setting as server owners should override /glist with a plugin if they don't like RedisBungee's version.

This commit is contained in:
Tux
2015-04-18 10:14:49 -04:00
parent 10466a9464
commit e82a3ac5dd
3 changed files with 16 additions and 27 deletions

View File

@@ -23,15 +23,12 @@ public class RedisBungeeConfiguration {
@Getter
private final boolean registerBungeeCommands;
@Getter
private final boolean canonicalGlist;
@Getter
private final List<InetAddress> exemptAddresses;
public RedisBungeeConfiguration(JedisPool pool, Configuration configuration) {
this.pool = pool;
this.serverId = configuration.getString("server-id");
this.registerBungeeCommands = configuration.getBoolean("register-bungee-commands", true);
this.canonicalGlist = configuration.getBoolean("canonical-glist", true);
List<String> stringified = configuration.getStringList("exempt-ip-addresses");
ImmutableList.Builder<InetAddress> addressBuilder = ImmutableList.builder();