author | Kim Alvefur <zash@zash.se> |
Fri, 19 Feb 2021 20:42:48 +0100 | |
changeset 4454 | 5f27bda5de80 |
parent 4453 | c25eef56e9c9 |
child 4455 | f1a63271dcfc |
--- 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