# HG changeset patch # User Kim Alvefur # Date 1475276355 -7200 # Node ID 5d05139d0555e3544cf00039f5a7c50b31956d3c # Parent 234d679076c485591bf38f6e1ec37c1df2e0bab2 mod_admin_blocklist: Do block check only when a stanza is about to trigger a new outgoing s2s connection diff -r 234d679076c4 -r 5d05139d0555 mod_admin_blocklist/mod_admin_blocklist.lua --- a/mod_admin_blocklist/mod_admin_blocklist.lua Wed Sep 28 15:15:21 2016 +0000 +++ b/mod_admin_blocklist/mod_admin_blocklist.lua Sat Oct 01 00:59:15 2016 +0200 @@ -38,7 +38,7 @@ end return false; end -end, 1000); +end, -9); module:hook("s2s-stream-features", function (event)