MUC: Save room to storage once after form processing, not in each individual setter
[prosody.git] / plugins / muc / password.lib.lua
index da122d1c4973579c589580ab56c43851abf0a1e7..8cb124ea2329dc6fc2fb8a9db44a5c265e22f727 100644 (file)
@@ -17,7 +17,6 @@ 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;
-       room:save(true);
        return true;
 end