From: David ‘Bombe’ Roden Date: Wed, 17 Nov 2010 20:48:19 +0000 (+0100) Subject: Don’t forget to fire events. X-Git-Tag: 0.3-RC1~9 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e58ffeff69ff27c1174114e882cc9eab56b3bf8e;p=Sone.git Don’t forget to fire events. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index d2c1420..806ac21 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -712,6 +712,7 @@ public class Core implements IdentityListener { return; } logger.log(Level.INFO, "Trying to restore Sone from Freenet…"); + coreListenerManager.fireRescuingSone(sone); lockSone(sone); long edition = sone.getLatestEdition(); while (!stopped && (edition >= 0) && isSoneRescueMode()) { @@ -720,6 +721,7 @@ public class Core implements IdentityListener { --edition; } logger.log(Level.INFO, "Finished restoring Sone from Freenet, starting Inserter…"); + coreListenerManager.fireRescuedSone(sone); soneInserter.start(); }