Comparison

net/xmppserver_listener.lua @ 3333:e6bb6bc4cfbe

xmppserver_listener: Fix variable names I forgot to change in the last commit
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Jul 2010 14:47:14 +0100
parent 3332:c941d1191709
child 3345:8520cd88b84c
comparison
equal deleted inserted replaced
3332:c941d1191709 3333:e6bb6bc4cfbe
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