Software /
code /
prosody-modules
Changeset
4450:5f27bda5de80
mod_muc_http_defaults: Fix resetting affiliations (it's plural)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 19 Feb 2021 20:42:48 +0100 |
parents | 4449:c25eef56e9c9 |
children | 4451:f1a63271dcfc |
files | mod_muc_http_defaults/mod_muc_http_defaults.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_http_defaults/mod_muc_http_defaults.lua Fri Feb 19 20:36:11 2021 +0100 +++ b/mod_muc_http_defaults/mod_muc_http_defaults.lua Fri Feb 19 20:42:48 2021 +0100 @@ -36,7 +36,7 @@ -- COMPAT the room creator is unconditionally made 'owner' -- clear existing affiliation - for existing_affiliation in pairs(room._affiliation) do + for existing_affiliation in pairs(room._affiliations) do room:set_affiliation(true, existing_affiliation, "none"); end