aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-24 01:00:35 +0100
committerKim Alvefur <zash@zash.se>2019-12-24 01:00:35 +0100
commit72963873cddaed5d5cc9512c61722702d8e5bf3c (patch)
tree5f3eb6d6bb76e9fb40d93a9124e95fabf664b32b /plugins
parent6ceb83042a6648349c99d1be9ced5fd16684e951 (diff)
downloadprosody-72963873cddaed5d5cc9512c61722702d8e5bf3c.tar.gz
prosody-72963873cddaed5d5cc9512c61722702d8e5bf3c.zip
mod_muc_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_muc_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua
index a9287224..2ce5e1b5 100644
--- a/plugins/mod_muc_mam.lua
+++ b/plugins/mod_muc_mam.lua
@@ -352,7 +352,7 @@ local function save_to_history(self, stanza)
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);