Software /
code /
prosody
Changeset
4596:87a5b7f39100
Merge with Zash
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 09 Mar 2012 18:39:09 +0000 |
parents | 4593:470f502f02a3 (diff) 4595:bd6dc94d60e9 (current diff) |
children | 4597:25d89c7d6aee |
files | |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua Wed Mar 07 21:14:08 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Fri Mar 09 18:39:09 2012 +0000 @@ -280,7 +280,6 @@ end end (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err or "closed")); - sessions[session.conn] = nil; s2s_destroy_session(session, err); end @@ -457,7 +456,7 @@ return; -- Connection lives, for now end end - sessions[conn] = nil; + sessions[conn] = nil; end function listener.register_outgoing(conn, session)