aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-01 21:10:19 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-01 21:10:19 +0000
commit084b66894b817ff8b3ac0671b8f500c4bd998dd4 (patch)
tree795f6a37426240db19a024925d8195e00678d763
parent4851756ca45d3e9dc2d8add552528db9423332da (diff)
downloadprosody-084b66894b817ff8b3ac0671b8f500c4bd998dd4.tar.gz
prosody-084b66894b817ff8b3ac0671b8f500c4bd998dd4.zip
Another fix for s2s (well, let's say it was more for modules)
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index fc8cfa92..01a46961 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -60,7 +60,7 @@ function core_process_stanza(origin, stanza)
core_handle_stanza(origin, stanza);
elseif stanza.name == "iq" and not select(3, jid_split(to)) then
core_handle_stanza(origin, stanza);
- elseif stanza.attr.xmlns ~= "jabber:client" and stanza.attr.xmlns ~= "jabber:server" then
+ elseif stanza.attr.xmlns and stanza.attr.xmlns ~= "jabber:client" and stanza.attr.xmlns ~= "jabber:server" then
modules_handle_stanza(origin, stanza);
elseif origin.type == "c2s" or origin.type == "s2sin" then
core_route_stanza(origin, stanza);