Mercurial > prosody-modules
comparison mod_muc_restrict_nick/README.markdown @ 4588:e7b126161e7b
mod_muc_restrict_nick: New module to restrict MUC occupant nicknames
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 15 Jun 2021 12:35:17 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4587:0105df2138ff | 4588:e7b126161e7b |
---|---|
1 --- | |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: 'Require MUC occupant nicknames to match a specific pattern' | |
5 --- | |
6 | |
7 Introduction | |
8 ============ | |
9 | |
10 This checks the nickname of a joining user against a configurable | |
11 [Lua pattern](https://www.lua.org/manual/5.2/manual.html#6.4.1), and prevents | |
12 them from joining if it does not match. | |
13 | |
14 Configuration | |
15 ============= | |
16 | |
17 There is a single configuration option, `muc_restrict_nick_pattern` and the | |
18 default is `"^%w+$"` - i.e. allow only alphanumeric characters in nicknames. | |
19 | |
20 Compatibility | |
21 ============= | |
22 | |
23 Requires Prosody 0.11 or higher. |