aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-19 14:44:50 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-19 14:44:50 +0100
commit644e76a64fef2036b75f4330204815be73160b7a (patch)
treed367565b2758a98c70eadd5154acca7089a7ecf4
parentef45db165fbbc57f84ed73e0de877ab1b62593f6 (diff)
downloadprosody-644e76a64fef2036b75f4330204815be73160b7a.tar.gz
prosody-644e76a64fef2036b75f4330204815be73160b7a.zip
util.startup: Set flag when config fully loaded
-rw-r--r--util/startup.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 4ae45bdf..e92867dc 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -65,6 +65,7 @@ function startup.read_config()
print("");
os.exit(1);
end
+ prosody.config_loaded = true;
end
function startup.check_dependencies()