mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.startup: Ensure import() is available in prosodyctl (thanks keyzer)
Fixes error in mod_authz_internal due to import() being unavailable as it was only loaded in Prosody proper
This commit is contained in:
parent
bca11bfc73
commit
bab0635179
1 changed files with 1 additions and 1 deletions
|
@ -132,6 +132,7 @@ end
|
|||
function startup.load_libraries()
|
||||
-- Load socket framework
|
||||
-- luacheck: ignore 111/server 111/socket
|
||||
require "util.import"
|
||||
socket = require "socket";
|
||||
server = require "net.server"
|
||||
end
|
||||
|
@ -359,7 +360,6 @@ end
|
|||
|
||||
function startup.load_secondary_libraries()
|
||||
--- Load and initialise core modules
|
||||
require "util.import"
|
||||
require "util.xmppstream"
|
||||
require "core.stanza_router"
|
||||
require "core.statsmanager"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue