From 03bb9eb679c3ee5081b94729529349c1793b1873 Mon Sep 17 00:00:00 2001 From: Tux Date: Thu, 3 Apr 2014 23:32:10 -0400 Subject: [PATCH] Remove it as well --- .../com/imaginarycode/minecraft/redisbungee/RedisBungee.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index 7ae4073..e2d407e 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -368,6 +368,7 @@ public final class RedisBungee extends Plugin implements Listener { for (String member : tmpRsc.smembers("server:" + configuration.getString("server-id") + ":usersOnline")) cleanUpPlayer(member, tmpRsc); } + tmpRsc.srem("servers", configuration.getString("server-id")); } finally { pool.returnResource(tmpRsc); }