File

mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 5992:bdfb0ed56399

mod_csi_muc_priorities: Fix saving list with only high-priority MUCs (thanks aereaux) Duplicate level of ifs added in 0233da912ab6 on top of d77a61d81555
author Kim Alvefur <zash@zash.se>
date Fri, 20 Sep 2024 18:47:59 +0200
parent 4981:f0fe95f9e21c
line wrap: on
line source

module:depends("smacks");

module:hook("smacks-ack-delayed", function (event)
	if event.origin.type == "s2sin" or event.origin.type == "s2sout" then
		event.origin:close("connection-timeout");
		return true;
	end
end);