From b067063ea6f1cf5077215d48127da12e78936b25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 31 Jan 2015 09:30:16 +0100 Subject: [PATCH] Always remove all info for a disconnected network. --- src/main/java/net/pterodactylus/xdcc/core/Core.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index da202e4..99c5ab6 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -503,9 +503,6 @@ public class Core extends AbstractExecutionThreadService { return; } networkConnections.remove(network.get()); - if (!connection.established()) { - return; - } /* find all channels that need to be removed. */ for (Collection channels : ImmutableList.of(joinedChannels, extraChannels)) { -- 2.7.4