aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-01 18:47:07 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-01 18:47:07 +0500
commitdc52dac1584ad13eaa043b429681ce2cafe374e2 (patch)
tree0d9f3ef665f61b404ecf63e5fdf090465585b5ea
parentc0f26c28d0fdcdff6fc2bd271a0a2996592b882d (diff)
downloadprosody-dc52dac1584ad13eaa043b429681ce2cafe374e2.tar.gz
prosody-dc52dac1584ad13eaa043b429681ce2cafe374e2.zip
Fixed: Session data was never removed from sessions list
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 864a1ee4..b6bcba84 100644
--- a/main.lua
+++ b/main.lua
@@ -160,6 +160,7 @@ end
function disconnect(conn, err)
sessions[conn].disconnect(err);
+ sessions[conn] = nil;
end
modulemanager.loadall();