File

core/features.lua @ 13201:65fb0d7a2312

moduleapi: Add enum config option method For when a setting has a few fixed values it can take
author Kim Alvefur <zash@zash.se>
date Sat, 16 Jan 2021 20:40:14 +0100
parent 13170:082c7d856e61
child 13203:aa6c2692a4be
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+";

		"s2sout-pre-connect-event";

		-- prosody:guest, prosody:registered, prosody:member
		"split-user-roles";

		-- new moduleapi methods
		"getopt-enum";
	};
};