Mercurial > prosody-modules
changeset 6475:d5b9da8c94ae
muc_reserve_nick_pattern and muc_restrict_nick: beta status and mention each other.
| author | Menel <menel@snikket.de> |
|---|---|
| date | Tue, 17 Mar 2026 20:18:32 +0100 |
| parents | 9112a0d25e5b |
| children | 4a1c17a5745f |
| files | mod_muc_reserve_nick_pattern/README.md mod_muc_restrict_nick/README.md |
| diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_reserve_nick_pattern/README.md Tue Mar 17 19:52:50 2026 +0100 +++ b/mod_muc_reserve_nick_pattern/README.md Tue Mar 17 20:18:32 2026 +0100 @@ -1,7 +1,7 @@ --- labels: -- 'Stage-Alpha' -summary: 'Require MUC occupant nicknames to no match some patterns' +- 'Stage-Beta' +summary: 'Require MUC occupant nicknames to not match some patterns' --- Introduction @@ -11,9 +11,12 @@ [Lua patterns](https://www.lua.org/manual/5.2/manual.html#6.4.1), and prevents them from joining if it matches any of them. +Note the similar module: [mod_muc_restrict_nick] + Configuration ============= +Load it under a muc component. There is a single configuration option, `muc_reserve_nick_patterns` and the default is `{}` - i.e. allow everything.
--- a/mod_muc_restrict_nick/README.md Tue Mar 17 19:52:50 2026 +0100 +++ b/mod_muc_restrict_nick/README.md Tue Mar 17 20:18:32 2026 +0100 @@ -1,6 +1,6 @@ --- labels: -- 'Stage-Alpha' +- 'Stage-Beta' summary: 'Require MUC occupant nicknames to match a specific pattern' --- @@ -11,9 +11,12 @@ [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.
