diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-30 19:45:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-30 19:45:56 +0100 |
commit | ef919e14178f9526cc9c10842c8db7359055a680 (patch) | |
tree | abef044158d144b17b1065483fb643deafa65c26 /net | |
parent | fedb8443003df7a5f87257f795f64abd05072be8 (diff) | |
parent | 64a003d115e699b5076af196e2f7cbf3e345a618 (diff) | |
download | prosody-ef919e14178f9526cc9c10842c8db7359055a680.tar.gz prosody-ef919e14178f9526cc9c10842c8db7359055a680.zip |
Merge 0.6->0.7
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppserver_listener.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index d63f5c23..d1272edb 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -50,6 +50,9 @@ end local function handleerr(err) log("error", "Traceback[s2s]: %s: %s", tostring(err), debug.traceback()); end function stream_callbacks.handlestanza(a, b) + if b.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client + b.attr.xmlns = nil; + end xpcall(function () core_process_stanza(a, b) end, handleerr); end |