Changeset

4626:9df9e87d0339

mod_c2s: Add missing multiplexed service discovery pattern.
author Kim Alvefur <zash@zash.se>
date Thu, 15 Mar 2012 17:37:07 +0100
parents 4625:325965bafae1
children 4627:b046cafc81a8
files plugins/mod_c2s.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Thu Mar 15 16:31:10 2012 +0000
+++ b/plugins/mod_c2s.lua	Thu Mar 15 17:37:07 2012 +0100
@@ -225,6 +225,9 @@
 	listener = listener;
 	default_port = 5222;
 	encryption = "starttls";
+	multiplex = {
+		pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>";
+	};
 });
 
 module:add_item("net-provider", {