diff mod_isolate_host/mod_isolate_host.lua @ 1792:8e19b943c2cd

mod_isolate_host: Bump event hook priorities to make sure they are above the core plugins
author Kim Alvefur <zash@zash.se>
date Wed, 26 Aug 2015 18:04:55 +0200
parents 9466efd10af9
children bc75fc9400ae
line wrap: on
line diff
--- a/mod_isolate_host/mod_isolate_host.lua	Wed Aug 26 18:03:31 2015 +0200
+++ b/mod_isolate_host/mod_isolate_host.lua	Wed Aug 26 18:04:55 2015 +0200
@@ -27,7 +27,7 @@
 
 for stanza_type in stanza_types do
 	for jid_type in jid_types do
-		module:hook("pre-"..stanza_type.."/"..jid_type, check_stanza);
+		module:hook("pre-"..stanza_type.."/"..jid_type, check_stanza, 1);
 	end
 end