aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-15 03:05:24 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-15 03:05:24 +0000
commit8496bd382a0b357eeefbb03e593104b0f11420f2 (patch)
tree9f2d8793a23f9b0bad826cb92f8e7954a0eadbc3 /plugins/mod_c2s.lua
parente776782e7fd00b7d8d99b5ef831b420b8e6480f0 (diff)
downloadprosody-8496bd382a0b357eeefbb03e593104b0f11420f2.tar.gz
prosody-8496bd382a0b357eeefbb03e593104b0f11420f2.zip
mod_c2s, mod_s2s: Add multiplex support
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index e3557492..67156f55 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -231,6 +231,9 @@ module:add_item("net-provider", {
name = "legacy_ssl";
listener = listener;
encryption = "ssl";
+ multiplex = {
+ pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>";
+ };
});