Diff

plugins/mod_component.lua @ 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
parent 5306:10bc0e2aa55e
child 5370:7838acadb0fa
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.*>";
 	};
 });