Software /
code /
prosody
File
core/features.lua @ 13624:de902cc0d46c
util.bitcompat: Avoid potential noise from global metatable
If this module is require'd from a plugin on a Lua version without the
global bit32 library, it may trip a warning about accessing globals.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 15 Jan 2025 09:55:28 +0100 (3 months ago) |
parent | 13622:4e908958660e |
child | 13657:404d3644ac4a |
line wrap: on
line source
local set = require "prosody.util.set"; return { available = set.new{ -- mod_bookmarks bundled "mod_bookmarks"; -- mod_server_info bundled "mod_server_info"; -- mod_flags bundled "mod_flags"; -- mod_cloud_notify bundled "mod_cloud_notify"; -- 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"; "getopt-interval"; "getopt-period"; "getopt-integer"; -- new module.ready() "module-ready"; -- SIGUSR1 and 2 events "signal-events"; }; };