aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-30 19:45:56 +0100
committerMatthew Wild <mwild1@gmail.com>2010-03-30 19:45:56 +0100
commitef919e14178f9526cc9c10842c8db7359055a680 (patch)
treeabef044158d144b17b1065483fb643deafa65c26 /core/modulemanager.lua
parentfedb8443003df7a5f87257f795f64abd05072be8 (diff)
parent64a003d115e699b5076af196e2f7cbf3e345a618 (diff)
downloadprosody-ef919e14178f9526cc9c10842c8db7359055a680.tar.gz
prosody-ef919e14178f9526cc9c10842c8db7359055a680.zip
Merge 0.6->0.7
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 2f89b443..5e9eaedd 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -274,7 +274,7 @@ function handle_stanza(host, origin, stanza)
(handlers[1])(origin, stanza);
return true;
else
- if stanza.attr.xmlns == "jabber:client" then
+ if stanza.attr.xmlns == nil then
log("debug", "Unhandled %s stanza: %s; xmlns=%s", origin.type, stanza.name, xmlns); -- we didn't handle it
if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));