MUC: Provide a noop stub room:save() method
[prosody.git] / plugins / muc / whois.lib.lua
index 2f492c450dcbc5eb968d11c3730f761800fa1ff2..84916c6a164c0deed09a2af9d0780ab8a54407dc 100644 (file)
@@ -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