aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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