From: David ‘Bombe’ Roden Date: Tue, 23 Nov 2010 20:57:31 +0000 (+0100) Subject: Save the configuration after storing all values. X-Git-Tag: 0.3.1-RC1~42 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=41f892668a236e46c5ac5f3e9b901a4c2dbec6de Save the configuration after storing all values. --- 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); }