53 if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client |
53 if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client |
54 stanza.attr.xmlns = nil; |
54 stanza.attr.xmlns = nil; |
55 end |
55 end |
56 stanza = session.filter("stanzas/in", stanza); |
56 stanza = session.filter("stanzas/in", stanza); |
57 if stanza then |
57 if stanza then |
58 xpcall(function () core_process_stanza(a, b) end, handleerr); |
58 xpcall(function () core_process_stanza(session, stanza) end, handleerr); |
59 end |
59 end |
60 end |
60 end |
61 |
61 |
62 local connlisteners_register = require "net.connlisteners".register; |
62 local connlisteners_register = require "net.connlisteners".register; |
63 |
63 |