aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/name.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/name.lib.lua')
-rw-r--r--plugins/muc/name.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/name.lib.lua b/plugins/muc/name.lib.lua
index d9bfc4cf..fb014f75 100644
--- a/plugins/muc/name.lib.lua
+++ b/plugins/muc/name.lib.lua
@@ -17,7 +17,7 @@ local function set_name(room, name)
if name == "" or name == (jid_split(room.jid)) then name = nil; end
if room._data.name == name then return false; end
room._data.name = name;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end