X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FSonePlugin.java;h=a57a71e75f9e3080094e1fc4cb1ea930e86a6176;hb=ffe2f26bb75cbd7798b0c205deb98ebc3d36928c;hp=480529fd3c128199e63cd05d8af78e93171cca4f;hpb=e9a2ac5f932a9c49685d218b5edaad8d6dd79d22;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 480529f..a57a71e 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("RC4", 0, 2); + public static final Version VERSION = new Version(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);