From 72d77534417279b36f2bfff101cb274ad3ba5864 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 18 Dec 2013 18:34:22 +0100 Subject: mod_component: Decrease priority of component auth hook --- plugins/mod_component.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index a5767c9a..b6e111d5 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -86,7 +86,7 @@ function module.add_host(module) return true; end - module:hook("stanza/jabber:component:accept:handshake", handle_component_auth); + module:hook("stanza/jabber:component:accept:handshake", handle_component_auth, -1); -- Handle stanzas addressed to this component local function handle_stanza(event) -- cgit v1.2.3