diff options
author | Waqas Hussain <waqas20@gmail.com> | 2012-06-13 11:47:04 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2012-06-13 11:47:04 +0500 |
commit | 3d2e69a97ec9a0153cf862b7c3d619e7a736a996 (patch) | |
tree | a3d633bbbe093d799e61dd786fa4d156ce343d23 | |
parent | ff8bd93299b7f9a46a5dc1ff9825ebde7637321e (diff) | |
download | prosody-3d2e69a97ec9a0153cf862b7c3d619e7a736a996.tar.gz prosody-3d2e69a97ec9a0153cf862b7c3d619e7a736a996.zip |
s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash).
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 9e0a91d1..5fe3a375 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -133,7 +133,7 @@ local resting_session = { -- Resting, not dead 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 |