aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/whois.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/whois.lib.lua')
-rw-r--r--plugins/muc/whois.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/whois.lib.lua b/plugins/muc/whois.lib.lua
index 2f492c45..84916c6a 100644
--- a/plugins/muc/whois.lib.lua
+++ b/plugins/muc/whois.lib.lua
@@ -20,7 +20,7 @@ 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;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end