Diff

mod_admin_blocklist/mod_admin_blocklist.lua @ 2313:5d05139d0555

mod_admin_blocklist: Do block check only when a stanza is about to trigger a new outgoing s2s connection
author Kim Alvefur <zash@zash.se>
date Sat, 01 Oct 2016 00:59:15 +0200
parent 1735:c2d43b568178
child 4805:683d1ad16b56
line wrap: on
line diff
--- 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)