Mercurial > prosody-modules
view mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 6039:93efc6c4fe93
mod_report_forward: Drop 'spam' prefix from address field, it's not only spam
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 26 Nov 2024 12:14:24 +0000 |
| 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);
