# HG changeset patch # User Matthew Wild # Date 1243296472 -3600 # Node ID db2a55fe94f2b9b67f126435e48668235b3718ef # Parent 545c81364939ad3fa3a9fbc815b5c7f65b6c96f7 s2smanager: Only send reply when connection is still open diff -r 545c81364939 -r db2a55fe94f2 core/s2smanager.lua --- a/core/s2smanager.lua Tue May 26 01:07:21 2009 +0100 +++ b/core/s2smanager.lua Tue May 26 01:07:52 2009 +0100 @@ -306,7 +306,9 @@ function streamclosed(session) (session.log or log)("debug", ""); - session.sends2s(""); + if session.sends2s then + session.sends2s(""); + end session.notopen = true; end