Diff

main.lua @ 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
parent 33:091f91a1f67a
child 36:62998e5319e3
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();