From: David ‘Bombe’ Roden Date: Wed, 16 Jan 2013 14:29:00 +0000 (+0100) Subject: Add web interface as listener for event bus. X-Git-Tag: 0.8.5^2~3^2~121 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=a5ee80d838f1afc98f2e269994e0a95395e57c63 Add web interface as listener for event bus. --- 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;