Diff

util/startup.lua @ 9214:8b2b8f1a911f

util.startup: Set flag when config fully loaded
author Matthew Wild <mwild1@gmail.com>
date Sun, 19 Aug 2018 14:44:50 +0100
parent 8958:b10a37f6f75f
child 9762:34988a408b74
line wrap: on
line diff
--- 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()