Mercurial > prosody-hg
diff prosody @ 12971:7214baed9e9d
executables: Prefix module imports with prosody namespace
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Mar 2023 16:29:54 +0100 |
| parents | 4f2accd99373 |
| children | f47b4baa7934 |
line wrap: on
line diff
--- a/prosody Thu Mar 23 14:48:15 2023 +0000 +++ b/prosody Fri Mar 17 16:29:54 2023 +0100 @@ -55,8 +55,8 @@ 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 @@ 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);
