2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

Actually add server to server set.

This commit is contained in:
Tux 2014-04-03 23:27:58 -04:00
parent 98b2c4733a
commit c6ca9d1c78

View File

@ -425,6 +425,7 @@ public final class RedisBungee extends Plugin implements Listener {
getLogger().severe("If this instance is coming up from a crash, create a file in your RedisBungee plugins directory with the name 'restarted_from_crash.txt' and RedisBungee will not perform this check.");
throw new RuntimeException("Possible imposter instance!");
}
rsc.sadd("servers", configuration.getString("server-id"));
getLogger().log(Level.INFO, "Successfully connected to Redis.");
} catch (JedisConnectionException e) {
if (rsc != null)