aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mod_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-24 01:01:05 +0100
committerKim Alvefur <zash@zash.se>2019-12-24 01:01:05 +0100
commit9beff3d274b457408f4561fe75f156ccf2109fd7 (patch)
tree066d1d6f32707899f1f26c8d5250b671519068cf /plugins/mod_mam/mod_mam.lua
parenta4e705c122fbf4279d486a36028eddbcd2acdadb (diff)
downloadprosody-9beff3d274b457408f4561fe75f156ccf2109fd7.tar.gz
prosody-9beff3d274b457408f4561fe75f156ccf2109fd7.zip
mod_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index fd319486..295d90e1 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -297,7 +297,7 @@ local function message_handler(event, c2s)
log("debug", "Archiving stanza: %s", stanza:top_tag());
-- And stash it
- local ok = archive:append(store_user, nil, clone_for_storage, time_now(), with);
+ local ok, err = archive:append(store_user, nil, clone_for_storage, time_now(), with);
if ok then
local clone_for_other_handlers = st.clone(stanza);
local id = ok;