Diff

plugins/mod_component.lua @ 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
parent 5728:2ecf400b194a
child 5953:1c08d6cca552
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)