Call loadConfig() on start().
[jSite2.git] / src / net / pterodactylus / jsite / core / CoreImpl.java
index 2b795ed..c61aa74 100644 (file)
@@ -144,6 +144,7 @@ public class CoreImpl implements Core, NodeListener {
         */
        public void start() {
                logger.log(Level.INFO, "starting core…");
+               loadConfig();
                try {
                        nodeManager.load();
                        coreListenerSupport.fireLoadingNodesDone(nodeManager.getDirectory());
@@ -253,7 +254,6 @@ public class CoreImpl implements Core, NodeListener {
        /**
         * Loads the configuration.
         */
-       @SuppressWarnings("unused")
        private void loadConfig() {
                logger.log(Level.FINEST, "loadConfig()");
                /* TODO */