X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FSonePlugin.java;h=f7ae983af94dd2a2921046e18dfcc6d79a8d766c;hb=ceb535c9e6d75ef00fee095705a109f8244a32d0;hp=e349ff01c3737df391f54e24653b4b8c6e93f299;hpb=16fc808ecfa456487bcb745474b8b777f5dfa829;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index e349ff0..f7ae983 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -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);