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
commitc80dfc3c413d79c2b862557b1c1b5c3753e1dd3b (patch)
treeae8600a6c245fac3eb3ae2883ce7199a15436d67 /plugins/mod_component.lua
parentc8529ea3ab6f37c22fa3573b27ec8a44a32806a6 (diff)
downloadprosody-c80dfc3c413d79c2b862557b1c1b5c3753e1dd3b.tar.gz
prosody-c80dfc3c413d79c2b862557b1c1b5c3753e1dd3b.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.*>";
};
});