Comparison

spec/scansion/prosody.cfg.lua @ 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
parent 13406:3adc67301722
child 13494:4c3d6ed9c823
comparison
equal deleted inserted replaced
13406:3adc67301722 13407:736ab1f7b173
1 --luacheck: ignore 1 --luacheck: ignore
2 2
3 admins = { "admin@localhost" } 3 admins = { "admin@localhost" }
4 4
5 network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll" 5 network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll"
6 network_settings = require"prosody.util.json".decode(ENV_PROSODY_NETWORK_SETTINGS or "{}") 6 network_settings = Lua.require"prosody.util.json".decode(ENV_PROSODY_NETWORK_SETTINGS or "{}")
7 7
8 modules_enabled = { 8 modules_enabled = {
9 -- Generally required 9 -- Generally required
10 "roster"; -- Allow users to have a roster. Recommended ;) 10 "roster"; -- Allow users to have a roster. Recommended ;)
11 "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in. 11 "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.