aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/password.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-15 11:50:55 +0200
committerKim Alvefur <zash@zash.se>2016-04-15 11:50:55 +0200
commit45e055d26a8133358518ba4f2c6676a15b2b1c75 (patch)
tree9f885da1a933ab13e2fa3c18bd359e8c240f274b /plugins/muc/password.lib.lua
parentfd375a83984c0faea37365dd9c3d7ef2d2ec8b47 (diff)
downloadprosody-45e055d26a8133358518ba4f2c6676a15b2b1c75.tar.gz
prosody-45e055d26a8133358518ba4f2c6676a15b2b1c75.zip
MUC: Save room to storage once after form processing, not in each individual setter
Diffstat (limited to 'plugins/muc/password.lib.lua')
-rw-r--r--plugins/muc/password.lib.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/muc/password.lib.lua b/plugins/muc/password.lib.lua
index da122d1c..8cb124ea 100644
--- a/plugins/muc/password.lib.lua
+++ b/plugins/muc/password.lib.lua
@@ -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