Software /
code /
prosody
Changeset
4021:5af5fdaaa940
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Dec 2010 04:49:30 +0000 |
parents | 4020:472691075967 |
children | 4022:79eff2476596 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Dec 24 04:48:38 2010 +0000 +++ b/core/s2smanager.lua Fri Dec 24 04:49:30 2010 +0000 @@ -177,6 +177,8 @@ hosts[from_host].s2sout[to_host] = host_session; + host_session.close = destroy_session; -- This gets replaced by xmppserver_listener later + local log; do local conn_name = "s2sout"..tostring(host_session):match("[a-f0-9]*$");