aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/whois.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
commit7ea91caa95e5f1e65a03032559241ec4832203df (patch)
tree9f885da1a933ab13e2fa3c18bd359e8c240f274b /plugins/muc/whois.lib.lua
parente05eb9a0d70487b62ebd85686044af7859696799 (diff)
downloadprosody-7ea91caa95e5f1e65a03032559241ec4832203df.tar.gz
prosody-7ea91caa95e5f1e65a03032559241ec4832203df.zip
MUC: Save room to storage once after form processing, not in each individual setter
Diffstat (limited to 'plugins/muc/whois.lib.lua')
-rw-r--r--plugins/muc/whois.lib.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/muc/whois.lib.lua b/plugins/muc/whois.lib.lua
index 84916c6a..07e72c69 100644
--- a/plugins/muc/whois.lib.lua
+++ b/plugins/muc/whois.lib.lua
@@ -20,7 +20,6 @@ local function set_whois(room, whois)
assert(valid_whois[whois], "Invalid whois value")
if get_whois(room) == whois then return false; end
room._data.whois = whois;
- room:save(true);
return true;
end