aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/affiliation_notify.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/affiliation_notify.lib.lua')
-rw-r--r--plugins/muc/affiliation_notify.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/affiliation_notify.lib.lua b/plugins/muc/affiliation_notify.lib.lua
index 0b9ab325..7996c4b8 100644
--- a/plugins/muc/affiliation_notify.lib.lua
+++ b/plugins/muc/affiliation_notify.lib.lua
@@ -24,7 +24,7 @@ local function set_affiliation_notify(room, affiliation_notify)
affiliation_notify = affiliation_notify and true or nil;
if room._data.affiliation_notify == affiliation_notify then return false; end
room._data.affiliation_notify = affiliation_notify;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end