# HG changeset patch # User Kim Alvefur # Date 1458131260 -3600 # Node ID 964b3d649a3675360957ec4ed73cf20c9f1c3cc1 # Parent 7a29d8e3275b160b6d7cf5738681b3ea29cad603 mod_smacks: Increase delay for starting s2s smacks to a non-zero value diff -r 7a29d8e3275b -r 964b3d649a36 mod_smacks/mod_smacks.lua --- a/mod_smacks/mod_smacks.lua Wed Mar 16 13:26:21 2016 +0100 +++ b/mod_smacks/mod_smacks.lua Wed Mar 16 13:27:40 2016 +0100 @@ -171,7 +171,7 @@ module:hook_stanza("http://etherx.jabber.org/streams", "features", function (session, stanza) - module:add_timer(0, function () + module:add_timer(1e-6, function () if can_do_smacks(session) then if stanza:get_child("sm", xmlns_sm3) then session.sends2s(st.stanza("enable", sm3_attr));