author | Matthew Wild <mwild1@gmail.com> |
Thu, 17 Dec 2009 19:00:36 +0000 | |
changeset 2782 | 71e6c13f6e08 |
parent 2781 | 4b5881b6bbfc |
child 2783 | 57611584e27d |
--- a/net/xmppserver_listener.lua Thu Dec 17 18:59:29 2009 +0000 +++ b/net/xmppserver_listener.lua Thu Dec 17 19:00:36 2009 +0000 @@ -159,7 +159,7 @@ end end (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err)); - s2s_destroy_session(session); + s2s_destroy_session(session, err); sessions[conn] = nil; session = nil; collectgarbage("collect");