From: David ‘Bombe’ Roden Date: Mon, 8 Apr 2013 19:27:14 +0000 (+0200) Subject: Compare correct objects. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b42f55981daa243857ee396a500bec21bf077ca9;p=xudocci.git Compare correct objects. --- 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) {