# HG changeset patch # User Kim Alvefur # Date 1739750127 -3600 # Node ID c51140dfbc4e7ea74403bd1c034cc52308d1262d # Parent d7bf48d3137456e844e94a06ce0d5aa1dcb02ce3 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 diff -r d7bf48d31374 -r c51140dfbc4e plugins/mod_invites.lua --- 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