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

0.3.8-INTERIM-4

This commit is contained in:
Tux
2016-01-18 18:01:28 -05:00
parent 11d93e8e91
commit f5af1aed70
4 changed files with 7 additions and 19 deletions

View File

@@ -18,14 +18,11 @@ public class RedisBungeeConfiguration {
private final boolean registerBungeeCommands;
@Getter
private final List<InetAddress> exemptAddresses;
@Getter
private final boolean useAsyncPing;
public RedisBungeeConfiguration(JedisPool pool, Configuration configuration) {
this.pool = pool;
this.serverId = configuration.getString("server-id");
this.registerBungeeCommands = configuration.getBoolean("register-bungee-commands", true);
this.useAsyncPing = configuration.getBoolean("use-async-ping", true);
List<String> stringified = configuration.getStringList("exempt-ip-addresses");
ImmutableList.Builder<InetAddress> addressBuilder = ImmutableList.builder();