Changeset

10566:f4d12b1434c6 0.11

mod_muc_mam: Fix rebase mistake [luacheck] The 'err' was there in trunk
author Kim Alvefur <zash@zash.se>
date Tue, 24 Dec 2019 01:00:35 +0100
parents 10562:670afc079f68
children 10567:3df479098696
files plugins/mod_muc_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Tue Dec 24 00:26:40 2019 +0100
+++ b/plugins/mod_muc_mam.lua	Tue Dec 24 01:00:35 2019 +0100
@@ -352,7 +352,7 @@
 	end
 
 	-- And stash it
-	local id = archive:append(room_node, nil, stored_stanza, time_now(), with);
+	local id, err = archive:append(room_node, nil, stored_stanza, time_now(), with);
 
 	if id then
 		schedule_cleanup(room_node);