Changeset

7364:9ea3094b1fca

MUC: Save yourself! (fixes reference to current room)
author Kim Alvefur <zash@zash.se>
date Mon, 18 Apr 2016 19:08:31 +0200
parents 7363:14170d161b39
children 7365:2d502878b784
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Mon Apr 18 16:51:09 2016 +0200
+++ b/plugins/muc/muc.lib.lua	Mon Apr 18 19:08:31 2016 +0200
@@ -783,7 +783,7 @@
 	else
 		success, errtype, err = nil, "cancel", "bad-request";
 	end
-	room:save();
+	self:save();
 	if not success then
 		origin.send(st.error_reply(stanza, errtype, err));
 	else