Mercurial > prosody-modules
view mod_muc_restrict_nick/README.md @ 6505:cab3e1fbd424
mod_webpresence: add rockspec
| author | Menel <menel@snikket.de> |
|---|---|
| date | Tue, 31 Mar 2026 20:57:19 +0200 |
| parents | d5b9da8c94ae |
| children |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: 'Require MUC occupant nicknames to match a specific pattern' --- Introduction ============ This checks the nickname of a joining user against a configurable [Lua pattern](https://www.lua.org/manual/5.2/manual.html#6.4.1), and prevents them from joining if it does not match. Note the similar module: [mod_muc_reserve_nick_pattern] Configuration ============= Load it under a muc component. There is a single configuration option, `muc_restrict_nick_pattern` and the default is `"^%w+$"` - i.e. allow only alphanumeric characters in nicknames. Compatibility ============= Requires Prosody 0.11 or higher.
