diff options
author | Kim Alvefur <zash@zash.se> | 2023-12-17 16:41:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-12-17 16:41:47 +0100 |
commit | 6438e929b2787d3b6319ac54028d3d15e479defd (patch) | |
tree | 6de1e6ca408e670f806c27826d5482bc13afde5d /spec | |
parent | 0b5df6bdacfc4d2c14ef38861980819532d32ea8 (diff) | |
download | prosody-6438e929b2787d3b6319ac54028d3d15e479defd.tar.gz prosody-6438e929b2787d3b6319ac54028d3d15e479defd.zip |
scansion: Use new style for accessing Lua globals
Diffstat (limited to 'spec')
-rw-r--r-- | spec/scansion/prosody.cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scansion/prosody.cfg.lua b/spec/scansion/prosody.cfg.lua index 53ea2618..48183fc7 100644 --- a/spec/scansion/prosody.cfg.lua +++ b/spec/scansion/prosody.cfg.lua @@ -3,7 +3,7 @@ admins = { "admin@localhost" } network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll" -network_settings = require"prosody.util.json".decode(ENV_PROSODY_NETWORK_SETTINGS or "{}") +network_settings = Lua.require"prosody.util.json".decode(ENV_PROSODY_NETWORK_SETTINGS or "{}") modules_enabled = { -- Generally required |