util.startup: Set flag when config fully loaded
authorMatthew Wild <mwild1@gmail.com>
Sun, 19 Aug 2018 14:44:50 +0100
changeset 9217 8b2b8f1a911f
parent 9216 172f93f752b8
child 9218 b087b5047f86
util.startup: Set flag when config fully loaded
util/startup.lua
--- a/util/startup.lua	Sun Aug 19 13:20:55 2018 +0100
+++ b/util/startup.lua	Sun Aug 19 14:44:50 2018 +0100
@@ -65,6 +65,7 @@
 		print("");
 		os.exit(1);
 	end
+	prosody.config_loaded = true;
 end
 
 function startup.check_dependencies()