aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-31 00:59:10 +0100
committerKim Alvefur <zash@zash.se>2021-12-31 00:59:10 +0100
commit64c385c9f727e2002638d8e214c40a83ce55e55e (patch)
tree9e05bf281db172d05544f1512cb4151ec0278c6f /plugins
parentf017e61543ea64999ab9f770e3cc8313bedd1630 (diff)
downloadprosody-64c385c9f727e2002638d8e214c40a83ce55e55e.tar.gz
prosody-64c385c9f727e2002638d8e214c40a83ce55e55e.zip
mod_smacks: Log error to silence luacheck
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index aff898e5..0215a604 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -297,6 +297,8 @@ function handle_enable(session, stanza, xmlns_sm)
keep[token] = info;
end
all_old_sessions:set(session.username, keep);
+ elseif err then
+ module:log("error", "Unable to retrieve old resumption counters: %s", err);
end
end