Add web interface as listener for event bus.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 16 Jan 2013 14:29:00 +0000 (15:29 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 16 Jan 2013 18:04:10 +0000 (19:04 +0100)
src/main/java/net/pterodactylus/sone/main/SonePlugin.java

index c1599c9..bf32eab 100644 (file)
@@ -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;