From b42f55981daa243857ee396a500bec21bf077ca9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 8 Apr 2013 21:27:14 +0200 Subject: [PATCH] Compare correct objects. --- src/main/java/net/pterodactylus/xdcc/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index d5a45b1..00e31c6 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -144,7 +144,7 @@ public class Core extends AbstractIdleService { /* join all channels on this network. */ for (Channel channel : channels) { - if (channel.network().equals(network)) { + if (channel.network().equals(network.get())) { try { connectionEstablished.connection().joinChannel(channel.name()); } catch (IOException ioe1) { -- 2.7.4