aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:29:54 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:29:54 +0100
commit9c63ae60fdc89ced9434487d3f298576e86e42a2 (patch)
tree1c6fd23daed7249dda625412cc5d1eeb47e0397d /prosody
parentb17564a71fad38ee734b18e926309c946ae944dd (diff)
downloadprosody-9c63ae60fdc89ced9434487d3f298576e86e42a2.tar.gz
prosody-9c63ae60fdc89ced9434487d3f298576e86e42a2.zip
executables: Prefix module imports with prosody namespace
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody6
1 files changed, 3 insertions, 3 deletions
diff --git a/prosody b/prosody
index b300059f..253ac044 100755
--- a/prosody
+++ b/prosody
@@ -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);