From: David ‘Bombe’ Roden Date: Wed, 27 Oct 2010 17:38:16 +0000 (+0200) Subject: Add default Sones after resetting the configuration. X-Git-Tag: 0.1-RC1~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=36f25c38602d499d8e401962da7c5ef61614497e;p=Sone.git Add default Sones after resetting the configuration. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e35e644..00aefe2 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -762,6 +762,7 @@ public class Core extends AbstractService { options.getBooleanOption("ReallyClearOnNextRestart").set(null); if (clearConfiguration) { /* stop loading the configuration. */ + addDefaultSones(); return; }