aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-12-18 18:34:22 +0100
committerKim Alvefur <zash@zash.se>2013-12-18 18:34:22 +0100
commitd0940082ec6ef0034588cec3ca4bd9d127ef7dda (patch)
tree2b4ed28f2bafdc12b9b8759d60da84ca1a2f9e49 /plugins/mod_component.lua
parent341dfb3e52c741b4522727f264f9746ef6cde175 (diff)
downloadprosody-d0940082ec6ef0034588cec3ca4bd9d127ef7dda.tar.gz
prosody-d0940082ec6ef0034588cec3ca4bd9d127ef7dda.zip
mod_component: Decrease priority of component auth hook
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
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)