Set version to 0.3-RC1.
[Sone.git] / src / main / java / net / pterodactylus / sone / main / SonePlugin.java
index e349ff0..f7ae983 100644 (file)
@@ -81,7 +81,7 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10
        }
 
        /** The version. */
-       public static final Version VERSION = new Version(0, 2);
+       public static final Version VERSION = new Version("RC1", 0, 3);
 
        /** The logger. */
        private static final Logger logger = Logging.getLogger(SonePlugin.class);
@@ -169,12 +169,13 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10
                identityManager = new IdentityManager(webOfTrustConnector);
                identityManager.setContext("Sone");
 
-               /* create the web interface. */
-               webInterface = new WebInterface(this);
-
                /* create core. */
                core = new Core(configuration, freenetInterface, identityManager);
 
+               /* create the web interface. */
+               webInterface = new WebInterface(this);
+               core.addCoreListener(webInterface);
+
                /* create the identity manager. */
                identityManager.addIdentityListener(core);