Diff

plugins/muc/name.lib.lua @ 7352:50b24b3476e6

MUC: Provide a noop stub room:save() method
author Kim Alvefur <zash@zash.se>
date Thu, 14 Apr 2016 21:23:09 +0200
parent 7124:a0764a8d6b26
child 7353:ca31d3271cf8
line wrap: on
line diff
--- a/plugins/muc/name.lib.lua	Tue Apr 12 19:35:55 2016 +0200
+++ b/plugins/muc/name.lib.lua	Thu Apr 14 21:23:09 2016 +0200
@@ -17,7 +17,7 @@
 	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