From 6438e929b2787d3b6319ac54028d3d15e479defd Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 17 Dec 2023 16:41:47 +0100 Subject: scansion: Use new style for accessing Lua globals --- spec/scansion/prosody.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/scansion') 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 -- cgit v1.2.3