From 41f892668a236e46c5ac5f3e9b901a4c2dbec6de Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 23 Nov 2010 21:57:31 +0100 Subject: [PATCH] Save the configuration after storing all values. --- src/main/java/net/pterodactylus/sone/core/Core.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 5563bf6..1f89196 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1380,6 +1380,9 @@ public class Core implements IdentityListener { configuration.getStringValue("KnownReplies/" + replyCounter + "/ID").setValue(null); } + /* now save it. */ + configuration.save(); + } catch (ConfigurationException ce1) { logger.log(Level.SEVERE, "Could not store configuration!", ce1); } -- 2.7.4