diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-30 19:48:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-30 19:48:04 +0100 |
commit | af3bc714626c4e7b5299ef675bb244e963c1cfaa (patch) | |
tree | 05a514961ba273cda5c75bca8aa60fc278c6befc /core/modulemanager.lua | |
parent | 3d22f29cfab86c8a1ae34400df258a3e9b47d9ac (diff) | |
parent | 3dbf4c9e57cec2baa98f8864263a3cd11d608707 (diff) | |
download | prosody-af3bc714626c4e7b5299ef675bb244e963c1cfaa.tar.gz prosody-af3bc714626c4e7b5299ef675bb244e963c1cfaa.zip |
Merge 0.7->trunk
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
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")); |