Mercurial > prosody-modules
view mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 5962:a86720654fb9
mod_muc_moderation_delay: Fix lua 5.3/5.4 compatibility.
author | John Livingston <git@john-livingston.fr> |
---|---|
date | Tue, 10 Sep 2024 18:03:03 +0200 |
parents | f0fe95f9e21c |
children |
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);