Changeset

13407:736ab1f7b173

scansion: Use new style for accessing Lua globals
author Kim Alvefur <zash@zash.se>
date Sun, 17 Dec 2023 16:41:47 +0100
parents 13406:3adc67301722
children 13409:95d8875c90dc
files spec/scansion/prosody.cfg.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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