aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index 23ac2b51..a4ff0444 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -500,6 +500,7 @@ module:hook("pre-resource-unbind", function (event)
session.conn = nil;
conn:close();
end
+ session.log("debug", "Session going into hibernation (not being destroyed)")
module:fire_event("smacks-hibernation-start", { origin = session; queue = session.outgoing_stanza_queue:table() });
return true; -- Postpone destruction for now
end);