Software /
code /
prosody
Changeset
2489:d8296ab96f55
xmppcomponent_listener: Update for new connection API
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 22 Jan 2010 16:36:11 +0000 |
parents | 2488:08bfd7c96531 |
children | 2490:6eee75fb3159 |
files | net/xmppcomponent_listener.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/xmppcomponent_listener.lua Fri Jan 22 14:58:31 2010 +0000 +++ b/net/xmppcomponent_listener.lua Fri Jan 22 16:36:11 2010 +0000 @@ -117,7 +117,7 @@ end end session.send("</stream:stream>"); - session.conn.close(); + session.conn:close(); component_listener.ondisconnect(session.conn, "stream error"); end end