Changeset

5952:31b800964dfb

mod_component: Decrease priority of component auth hook
author Kim Alvefur <zash@zash.se>
date Wed, 18 Dec 2013 18:34:22 +0100
parents 5949:a9abbdeddbf3
children 5953:1c08d6cca552
files plugins/mod_component.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)