Save the configuration after storing all values.
[Sone.git] / 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);
                }