# HG changeset patch # User Menel # Date 1773775112 -3600 # Node ID d5b9da8c94aeb47b8afe0447cc31470acd37372c # Parent 9112a0d25e5b75d1efbc9bd84136f5fd1295cf28 muc_reserve_nick_pattern and muc_restrict_nick: beta status and mention each other. diff -r 9112a0d25e5b -r d5b9da8c94ae mod_muc_reserve_nick_pattern/README.md --- 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. diff -r 9112a0d25e5b -r d5b9da8c94ae mod_muc_restrict_nick/README.md --- 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.