Software /
code /
prosody
Diff
core/modulemanager.lua @ 2951:294c359a05f5
Merge 0.6->0.7
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 30 Mar 2010 19:45:56 +0100 |
parent | 2925:692b3c6c5bd2 |
parent | 2949:ef19faa7d106 |
child | 2977:686f9a5a7f5e |
line wrap: on
line diff
--- a/core/modulemanager.lua Thu Mar 25 19:34:41 2010 +0000 +++ b/core/modulemanager.lua Tue Mar 30 19:45:56 2010 +0100 @@ -274,7 +274,7 @@ (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"));