aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();