Software /
code /
prosody
Diff
plugins/mod_smacks.lua @ 12137:4e61aaa4e9b2
mod_smacks: Log error to silence luacheck
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 31 Dec 2021 00:59:10 +0100 |
parent | 12136:6366240d2edb |
child | 12272:fe0f5c47fda3 |
line wrap: on
line diff
--- a/plugins/mod_smacks.lua Fri Dec 31 00:48:38 2021 +0100 +++ b/plugins/mod_smacks.lua Fri Dec 31 00:59:10 2021 +0100 @@ -297,6 +297,8 @@ 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