# HG changeset patch # User Matthew Wild # Date 1264178171 0 # Node ID d8296ab96f55f3bda5ac1d5432b8345e6ea65d58 # Parent 08bfd7c965318e01160e63b742a99baee4a0c522 xmppcomponent_listener: Update for new connection API diff -r 08bfd7c96531 -r d8296ab96f55 net/xmppcomponent_listener.lua --- 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(""); - session.conn.close(); + session.conn:close(); component_listener.ondisconnect(session.conn, "stream error"); end end