aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua
index b0e0eb78..6ff39926 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -690,6 +690,7 @@ removeserver = function( port )
return nil, "no server found on port '" .. tostring( port ) "'"
end
handler.close( )
+ _server[ port ] = nil
return true
end