diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-03-22 15:04:22 +0000 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-03-22 15:04:22 +0000 |
commit | a4bbf213bfd1d6eed01c6bba0b70216bc9f4bc82 (patch) | |
tree | bce16a8e7bd38ca284523e0c45f0223c60fad7fe /core/stanza_router.lua | |
parent | 6fc597e709bcd9328e9309f05b55b1c2097cfebe (diff) | |
download | prosody-a4bbf213bfd1d6eed01c6bba0b70216bc9f4bc82.tar.gz prosody-a4bbf213bfd1d6eed01c6bba0b70216bc9f4bc82.zip |
stanza_router: Allow non-jabber:client elements after auth, before bind. [originally 2c538d4bde13 in 0.6]
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 72ddebd1..5aa7aeb0 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -36,7 +36,7 @@ function core_process_stanza(origin, stanza) end end - if origin.type == "c2s" then + if origin.type == "c2s" and stanza.attr.xmlns == "jabber:client" then if not origin.full_jid and not(stanza.name == "iq" and stanza.attr.type == "set" and stanza.tags[1] and stanza.tags[1].name == "bind" and stanza.tags[1].attr.xmlns == "urn:ietf:params:xml:ns:xmpp-bind") then |