scansion: Use new style for accessing Lua globals
authorKim Alvefur <zash@zash.se>
Sun, 17 Dec 2023 16:41:47 +0100
changeset 13411 736ab1f7b173
parent 13410 3adc67301722
child 13413 95d8875c90dc
scansion: Use new style for accessing Lua globals
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