diff options
author | Kim Alvefur <zash@zash.se> | 2025-02-17 00:55:27 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-02-17 00:55:27 +0100 |
commit | f21ea48481bb050f07348ea7d4312dc72324da2b (patch) | |
tree | 2f138b85040f4c84e7395fec9ea6841e555f227f | |
parent | 3ba87d07a971a388a40caf7eb45887c1c81766f9 (diff) | |
download | prosody-f21ea48481bb050f07348ea7d4312dc72324da2b.tar.gz prosody-f21ea48481bb050f07348ea7d4312dc72324da2b.zip |
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
-rw-r--r-- | plugins/mod_invites.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_invites.lua b/plugins/mod_invites.lua index c93afaa8..1e9eb38e 100644 --- a/plugins/mod_invites.lua +++ b/plugins/mod_invites.lua @@ -515,7 +515,7 @@ function subcommands.generate(arg) 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 |