From af2cf5f188a2bf62da97453f0d21e282f7f67985 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 18 Jun 2023 16:48:56 +0200 Subject: renamening: Fix newly added imports to use the new namespace --- util/startup.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/startup.lua') diff --git a/util/startup.lua b/util/startup.lua index 20ecb120..2fd5aee2 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -425,7 +425,7 @@ end 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 @@ function startup.log_greeting() 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); -- cgit v1.2.3