aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index bb27b05f..8f231474 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -498,7 +498,7 @@ module:hook("pre-resource-unbind", function (event)
h = session.handled_stanza_count,
});
session.resumption_token = nil;
- sessionmanager.destroy_session(session);
+ sessionmanager.destroy_session(session, "Hibernating too long");
else
session.log("debug", "Session resumed before hibernation timeout, all is well")
end