X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FSonePlugin.java;h=3ca3add0ae919bf16a5e8d8c5a572d5a574aa869;hb=f9bc38e54b9673d98e8536db16c70e88d76f95b4;hp=ed676a04923373f1c2d6e0ff1287da783aba36a8;hpb=83e51753c5ddd721e9d0b5aeaf211653e564a5d9;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 ed676a0..3ca3add 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -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);