Software /
code /
prosody
Diff
util/startup.lua @ 13165:9c13c11b199d
renamening: Fix newly added imports to use the new namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 18 Jun 2023 16:48:56 +0200 |
parent | 13120:be4058bb5a7e |
child | 13311:ab36edc7c217 |
line wrap: on
line diff
--- 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);