From a5ee80d838f1afc98f2e269994e0a95395e57c63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 16 Jan 2013 15:29:00 +0100 Subject: [PATCH] Add web interface as listener for event bus. --- src/main/java/net/pterodactylus/sone/main/SonePlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index c1599c9..bf32eab 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -226,6 +226,7 @@ public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr /* create the web interface. */ webInterface = injector.getInstance(WebInterface.class); + eventBus.register(webInterface); core.addCoreListener(webInterface); boolean startupFailed = true; -- 2.7.4