From 64c385c9f727e2002638d8e214c40a83ce55e55e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 31 Dec 2021 00:59:10 +0100 Subject: mod_smacks: Log error to silence luacheck --- plugins/mod_smacks.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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 -- cgit v1.2.3