Diff

plugins/mod_c2s.lua @ 7224:07a4c807a94a

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Wed, 02 Mar 2016 16:32:37 +0100
parent 7101:f83211f4d776
parent 7221:56e65b1e54e8
child 7284:9434a220e549
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Sun Feb 28 20:01:13 2016 +0100
+++ b/plugins/mod_c2s.lua	Wed Mar 02 16:32:37 2016 +0100
@@ -283,6 +283,7 @@
 	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