diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-02 16:32:37 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-02 16:32:37 +0100 |
commit | f5b5f7639813c293c65a73e3f70847d32c76d451 (patch) | |
tree | 6211defc2dd3e7e7270b5fbd54bbbd6fd8660445 /plugins | |
parent | a045849dfac5e50ef8c88c1d89b044e586d6c8e6 (diff) | |
parent | 170dbb45cc3604f3402ce700e2c9b4a249f961ab (diff) | |
download | prosody-f5b5f7639813c293c65a73e3f70847d32c76d451.tar.gz prosody-f5b5f7639813c293c65a73e3f70847d32c76d451.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_c2s.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index c638cd03..42c35689 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -283,6 +283,7 @@ function listener.ondisconnect(conn, err) if session then (session.log or log)("info", "Client disconnected: %s", err or "connection closed"); sm_destroy_session(session, err); + session.conn = nil; sessions[conn] = nil; end end |