Add default Sones after resetting the configuration.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 17:38:16 +0000 (19:38 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 27 Oct 2010 17:38:16 +0000 (19:38 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index e35e644..00aefe2 100644 (file)
@@ -762,6 +762,7 @@ public class Core extends AbstractService {
                options.getBooleanOption("ReallyClearOnNextRestart").set(null);
                if (clearConfiguration) {
                        /* stop loading the configuration. */
+                       addDefaultSones();
                        return;
                }