aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/password.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/password.lib.lua')
-rw-r--r--plugins/muc/password.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/password.lib.lua b/plugins/muc/password.lib.lua
index 8c33aa9a..da122d1c 100644
--- a/plugins/muc/password.lib.lua
+++ b/plugins/muc/password.lib.lua
@@ -17,7 +17,7 @@ local function set_password(room, password)
if password == "" then password = nil; end
if room._data.password == password then return false; end
room._data.password = password;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end