author | Matthew Wild <mwild1@gmail.com> |
Thu, 17 Dec 2009 19:00:36 +0000 | |
changeset 2369 | fe2819d281d5 |
parent 2368 | 4726cd9a6318 |
child 2370 | d783c8de379d |
--- 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; end