diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
commit | af2cf5f188a2bf62da97453f0d21e282f7f67985 (patch) | |
tree | 72d197ff9525742da98532f48a6ac0ad3b3cd261 /util/startup.lua | |
parent | 597f3c7f0aa39c347dad671cf682742b4d40a914 (diff) | |
download | prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.tar.gz prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.zip |
renamening: Fix newly added imports to use the new namespace
Diffstat (limited to 'util/startup.lua')
-rw-r--r-- | util/startup.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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); |