diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-31 00:59:10 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-31 00:59:10 +0100 |
commit | 64c385c9f727e2002638d8e214c40a83ce55e55e (patch) | |
tree | 9e05bf281db172d05544f1512cb4151ec0278c6f /plugins/mod_smacks.lua | |
parent | f017e61543ea64999ab9f770e3cc8313bedd1630 (diff) | |
download | prosody-64c385c9f727e2002638d8e214c40a83ce55e55e.tar.gz prosody-64c385c9f727e2002638d8e214c40a83ce55e55e.zip |
mod_smacks: Log error to silence luacheck
Diffstat (limited to 'plugins/mod_smacks.lua')
-rw-r--r-- | plugins/mod_smacks.lua | 2 |
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 |