Software /
code /
prosody
Changeset
12137:4e61aaa4e9b2
mod_smacks: Log error to silence luacheck
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 31 Dec 2021 00:59:10 +0100 |
parents | 12136:6366240d2edb |
children | 12138:644ca3583837 |
files | plugins/mod_smacks.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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