aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 8fbe2376..01704a36 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1539,6 +1539,7 @@ function room_mt:set_affiliation_data(jid, key, value)
if not data then
if value == nil then return true; end
data = {};
+ self._affiliation_data[jid] = data;
end
local old_value = data[key];
data[key] = value;