# HG changeset patch
# User Waqas Hussain <waqas20@gmail.com>
# Date 1339570024 -18000
# Node ID 42ac50c0382e6529c7affafc41448671a2162ea1
# Parent  15c1b8aa123da075e4b05f14be3dc93c4a91fad5
s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash).

diff -r 15c1b8aa123d -r 42ac50c0382e core/s2smanager.lua
--- a/core/s2smanager.lua	Tue Jun 12 17:31:55 2012 +0100
+++ b/core/s2smanager.lua	Wed Jun 13 11:47:04 2012 +0500
@@ -133,7 +133,7 @@
 function retire_session(session, reason)
 	local log = session.log or log;
 	for k in pairs(session) do
-		if k ~= "trace" and k ~= "log" and k ~= "id" then
+		if k ~= "trace" and k ~= "log" and k ~= "id" and k ~= "conn" then
 			session[k] = nil;
 		end
 	end