Changeset

34:fd693ef5d978

Fixed: Session data was never removed from sessions list
author Waqas Hussain <waqas20@gmail.com>
date Wed, 01 Oct 2008 18:47:07 +0500
parents 33:091f91a1f67a
children 35:3faa593c7e0f
files main.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main.lua	Wed Oct 01 01:18:19 2008 +0100
+++ b/main.lua	Wed Oct 01 18:47:07 2008 +0500
@@ -160,6 +160,7 @@
 
 function disconnect(conn, err)
 	sessions[conn].disconnect(err);
+	sessions[conn] = nil;
 end
 
 modulemanager.loadall();