# HG changeset patch # User Kim Alvefur # Date 1702827707 -3600 # Node ID 736ab1f7b173ce96298cca9ffddfb27e330ba8e6 # Parent 3adc67301722365cfd7c60127be6ca1c0a388c4f scansion: Use new style for accessing Lua globals diff -r 3adc67301722 -r 736ab1f7b173 spec/scansion/prosody.cfg.lua --- a/spec/scansion/prosody.cfg.lua Sun Dec 17 16:41:27 2023 +0100 +++ b/spec/scansion/prosody.cfg.lua Sun Dec 17 16:41:47 2023 +0100 @@ -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