mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua
author aidan@jmad.org
Sun, 25 Feb 2024 18:20:04 -0800
changeset 5880 c5df6d53f17f
parent 4985 f0fe95f9e21c
permissions -rw-r--r--
mod_lastlog2: Fix typo from original copy-paste

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);