mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
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
This commit is contained in:
parent
3ba87d07a9
commit
f21ea48481
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue