From de907cd0db1320fdc6c880df1284a61d8c3a2ad3 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 25 Jul 2012 10:58:30 +0200 Subject: [PATCH] Add loadSettings hook. --- src/node/server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node/server.js b/src/node/server.js index 2cfcde82a..d2ef93343 100755 --- a/src/node/server.js +++ b/src/node/server.js @@ -46,6 +46,10 @@ async.waterfall([ console.info("Installed plugins: " + plugins.formatPlugins()); console.debug("Installed parts:\n" + plugins.formatParts()); console.debug("Installed hooks:\n" + plugins.formatHooks()); + + // Call loadSettings hook + hooks.aCallAll("loadSettings", { settings: settings }); + callback(); },