Software /
code /
prosody
File
core/features.lua @ 13033:a863e4237b91
util.set: Change tostring format to {a, b, c}
Makes it easier to make out where the set starts and ends in cases where
it may get embedded and tostring()-ed in a log message.
{ } taken over from util.array for consistency with some other systems
syntax for Sets, e.g. Python
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Apr 2023 16:30:26 +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+"; }; };