scansion: Use new style for accessing Lua globals

This commit is contained in:
Kim Alvefur 2023-12-17 16:41:47 +01:00
parent 0b5df6bdac
commit 6438e929b2

View file

@ -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