From: David ‘Bombe’ Roden Date: Fri, 6 Sep 2013 20:33:39 +0000 (+0200) Subject: Don’t forget to subscribe to ConnectionFailed events. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e00122b2d96bd8f12daef3819d9b8888b6aa8d4c;p=xudocci.git Don’t forget to subscribe to ConnectionFailed events. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index d13b486..24d9c38 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -504,6 +504,7 @@ public class Core extends AbstractExecutionThreadService { * @param connectionFailed * The connection failed event */ + @Subscribe public void connectionFailed(ConnectionFailed connectionFailed) { removeConnection(connectionFailed.connection()); }