mod_isolate_host: Bump event hook priorities to make sure they are above the core plugins
authorKim Alvefur <zash@zash.se>
Wed, 26 Aug 2015 18:04:55 +0200
changeset 1796 8e19b943c2cd
parent 1795 8df071457dee
child 1797 152439ca92ee
mod_isolate_host: Bump event hook priorities to make sure they are above the core plugins
mod_isolate_host/mod_isolate_host.lua
--- 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