Software /
code /
prosody
Changeset
13725:c51140dfbc4e 13.0
mod_invites: Fix storing --group (thanks lissine)
This made it ignore `--group` completely, but if you incorrectly used
`--group foo` it would store `groups=true`.
Introduced in 9ba11ef91ce4
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 17 Feb 2025 00:55:27 +0100 |
parents | 13723:d7bf48d31374 |
children | 13726:5f1232cd0923 13727:704765bfe0a3 |
files | plugins/mod_invites.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_invites.lua Sun Feb 16 14:19:16 2025 +0000 +++ b/plugins/mod_invites.lua Mon Feb 17 00:55:27 2025 +0100 @@ -515,7 +515,7 @@ end local roles = opts.role or {}; - local groups = opts.groups or {}; + local groups = opts.group or {}; if opts.admin then -- Insert it first since we don't get order out of argparse