diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-17 16:29:54 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-17 16:29:54 +0100 |
commit | 9c63ae60fdc89ced9434487d3f298576e86e42a2 (patch) | |
tree | 1c6fd23daed7249dda625412cc5d1eeb47e0397d /prosody | |
parent | b17564a71fad38ee734b18e926309c946ae944dd (diff) | |
download | prosody-9c63ae60fdc89ced9434487d3f298576e86e42a2.tar.gz prosody-9c63ae60fdc89ced9434487d3f298576e86e42a2.zip |
executables: Prefix module imports with prosody namespace
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,8 +55,8 @@ if not pcall(require, "prosody.loader") then pcall(require, "loader"); end -local startup = require "util.startup"; -local async = require "util.async"; +local startup = require "prosody.util.startup"; +local async = require "prosody.util.async"; -- Note: it's important that this thread is not GC'd, as some C libraries -- that are initialized here store a pointer to it ( :/ ). @@ -83,7 +83,7 @@ local function loop() end local sleep = require"socket".sleep; - local server = require "net.server"; + local server = require "prosody.net.server"; while select(2, xpcall(server.loop, catch_uncaught_error)) ~= "quitting" do sleep(0.2); |