aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fsm.lua2
-rw-r--r--util/session.lua2
-rw-r--r--util/startup.lua4
3 files changed, 4 insertions, 4 deletions
diff --git a/util/fsm.lua b/util/fsm.lua
index 94a543d1..0afc2d16 100644
--- a/util/fsm.lua
+++ b/util/fsm.lua
@@ -1,4 +1,4 @@
-local events = require "util.events";
+local events = require "prosody.util.events";
local fsm_methods = {};
local fsm_mt = { __index = fsm_methods };
diff --git a/util/session.lua b/util/session.lua
index 1d03fa54..2d3cbd54 100644
--- a/util/session.lua
+++ b/util/session.lua
@@ -1,5 +1,5 @@
local initialize_filters = require "prosody.util.filters".initialize;
-local time = require "util.time";
+local time = require "prosody.util.time";
local logger = require "prosody.util.logger";
local function new_session(typ)
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);