aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-27 17:11:45 +0100
committerKim Alvefur <zash@zash.se>2013-01-27 17:11:45 +0100
commitd11b41d1dd5cbdbdc3f6ec4752767a5fefbf5798 (patch)
treeae8600a6c245fac3eb3ae2883ce7199a15436d67 /plugins/mod_component.lua
parentf3f1a3c44ece8b6cfbad0cb0f73cfac9f38bc72c (diff)
downloadprosody-d11b41d1dd5cbdbdc3f6ec4752767a5fefbf5798.tar.gz
prosody-d11b41d1dd5cbdbdc3f6ec4752767a5fefbf5798.zip
mod_component: Look for the correct xmlns (thanks NebuK)
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 74b02843..68d8a5de 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -313,6 +313,6 @@ module:provides("net", {
listener = listener;
default_port = 5347;
multiplex = {
- pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component%1.*>";
+ pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:component:accept%1.*>";
};
});