From: David ‘Bombe’ Roden Date: Mon, 13 Dec 2010 19:02:38 +0000 (+0100) Subject: Save the configuration after saving a Sone. X-Git-Tag: beta-freefall-0.6.2-1~191 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c48a672defca02eeda19debeb99ef25bd864e696;p=Sone.git Save the configuration after saving a Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index c99b055..895f570 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1187,6 +1187,7 @@ public class Core implements IdentityListener { } configuration.getStringValue(sonePrefix + "/Friends/" + friendCounter + "/ID").setValue(null); + configuration.save(); logger.log(Level.INFO, "Sone %s saved.", sone); } catch (ConfigurationException ce1) { logger.log(Level.WARNING, "Could not save Sone: " + sone, ce1);