File

core/features.lua @ 13032:ea4923bebca9

util.array: Change tostring format to [a,b,c] Arrays in Lua do use { } but since __tostring is often user-facing it seems sensible to use [ ] instead for consistency with many other systems; as well as to allow the {a,b,c} formatting to be used by util.set without being confused with util.array.
author Kim Alvefur <zash@zash.se>
date Thu, 06 Apr 2023 16:27:37 +0200
parent 12972:ead41e25ebc0
child 13111:8576f94ac90a
line wrap: on
line source

local set = require "prosody.util.set";

return {
	available = set.new{
		-- mod_bookmarks bundled
		"mod_bookmarks";
		-- Roles, module.may and per-session authz
		"permissions";
		-- prosody.* namespace
		"loader";
		-- "keyval+" store
		"keyval+";
	};
};