Save the configuration after storing all values.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 23 Nov 2010 20:57:31 +0000 (21:57 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 24 Nov 2010 07:54:55 +0000 (08:54 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index 5563bf6..1f89196 100644 (file)
@@ -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);
                }