From 519f934e9c19bbc6ca80617c1322dff4cec94fe8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 13 Jan 2015 21:03:46 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20access=20optional=20that?= =?utf8?q?=E2=80=99s=20clearly=20not=20set.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- 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 c2eaae8..3b1e639 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -631,7 +631,7 @@ public class Core extends AbstractExecutionThreadService { Optional channel = getChannel(network.get(), channelNotJoined.channel()); if (!channel.isPresent()) { - eventBus.post(new GenericMessage(format("Could not join %s but didn’t try to join, either.", channel.get()))); + eventBus.post(new GenericMessage(format("Could not join %s but didn’t try to join, either.", channelNotJoined.channel()))); return; } -- 2.7.4