Changeset

5316:310c7e5bb906

mod_component: Look for the correct xmlns (thanks NebuK)
author Kim Alvefur <zash@zash.se>
date Sun, 27 Jan 2013 17:11:45 +0100
parents 5315:abf1a926d0da
children 5317:86fab046813f
files plugins/mod_component.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_component.lua	Sat Jan 26 03:54:18 2013 +0500
+++ b/plugins/mod_component.lua	Sun Jan 27 17:11:45 2013 +0100
@@ -313,6 +313,6 @@
 	listener = listener;
 	default_port = 5347;
 	multiplex = {
-		pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component%1.*>";
+		pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component:accept%1.*>";
 	};
 });