Changeset

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 1791:8df071457dee
children 1793:152439ca92ee
files mod_isolate_host/mod_isolate_host.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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