mod_component: Look for the correct xmlns (thanks NebuK)
authorKim Alvefur <zash@zash.se>
Sun, 27 Jan 2013 17:11:45 +0100
changeset 5316 310c7e5bb906
parent 5315 abf1a926d0da
child 5317 86fab046813f
mod_component: Look for the correct xmlns (thanks NebuK)
plugins/mod_component.lua
--- 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.*>";
 	};
 });