diff options
author | Kim Alvefur <zash@zash.se> | 2023-05-07 12:52:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-05-07 12:52:31 +0200 |
commit | e83f8984a8c1085a36ff2f4e3cc64eb8912e3869 (patch) | |
tree | c14002b0e29a98c15110769a378fed34dfd4f377 | |
parent | 33c20d9cf432a5c4c2d380ce22e728344c259983 (diff) | |
download | prosody-e83f8984a8c1085a36ff2f4e3cc64eb8912e3869.tar.gz prosody-e83f8984a8c1085a36ff2f4e3cc64eb8912e3869.zip |
mod_invites: Fix password reset invites
Caused by roles changing from table|nil to always table in c2616274bef7
-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 024b86cf..34720a51 100644 --- a/plugins/mod_invites.lua +++ b/plugins/mod_invites.lua @@ -321,7 +321,7 @@ function module.command(arg) local invite; if allow_reset then - if roles then + if roles[1] then print("--role/--admin and --reset are mutually exclusive") return 2; end |