util/startup.lua
changeset 13169 9c13c11b199d
parent 13124 be4058bb5a7e
child 13315 ab36edc7c217
--- a/util/startup.lua	Sat Jun 17 17:19:40 2023 +0200
+++ b/util/startup.lua	Sun Jun 18 16:48:56 2023 +0200
@@ -425,7 +425,7 @@
 function startup.prepare_to_start()
 	log("info", "Prosody is using the %s backend for connection handling", server.get_backend());
 	-- Signal to modules that we are ready to start
-	prosody.started = require "util.promise".new(function (resolve)
+	prosody.started = require "prosody.util.promise".new(function (resolve)
 		prosody.events.add_handler("server-started", function ()
 			resolve();
 		end);
@@ -479,7 +479,7 @@
 end
 
 function startup.notify_started()
-	require "util.timer".add_task(0, function ()
+	require "prosody.util.timer".add_task(0, function ()
 		prosody.log("debug", "Firing server-started event");
 		prosody.events.fire_event("server-started");
 	end);