Diff

plugins/mod_smacks.lua @ 12851:ffa75a9ce907

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 19 Jan 2023 21:14:31 +0100
parent 12803:2e12290820e8
parent 12850:101c758428aa
child 12977:74b9e05af71e
line wrap: on
line diff
--- a/plugins/mod_smacks.lua	Thu Jan 19 17:29:40 2023 +0100
+++ b/plugins/mod_smacks.lua	Thu Jan 19 21:14:31 2023 +0100
@@ -544,6 +544,7 @@
 		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);