# HG changeset patch # User Kim Alvefur # Date 1387388062 -3600 # Node ID 31b800964dfbcc51411db83db20f0f11f4992675 # Parent a9abbdeddbf3505ef6b12632364fc8272f56b6ba mod_component: Decrease priority of component auth hook diff -r a9abbdeddbf3 -r 31b800964dfb plugins/mod_component.lua --- a/plugins/mod_component.lua Mon Dec 16 23:31:43 2013 +0000 +++ b/plugins/mod_component.lua Wed Dec 18 18:34:22 2013 +0100 @@ -86,7 +86,7 @@ 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)