aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/connlisteners.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/connlisteners.lua b/net/connlisteners.lua
index 99305220..e0076ddb 100644
--- a/net/connlisteners.lua
+++ b/net/connlisteners.lua
@@ -57,7 +57,6 @@ function start(name, udata)
local port = (udata and udata.port) or h.default_port or error("Can't start listener "..name.." because no port was specified, and it has no default port", 0);
local mode = (udata and udata.mode) or h.default_mode or 1;
local ssl = (udata and udata.ssl) or nil;
- local maxclients = 99999999;
local autossl = udata and udata.type == "ssl";
return server.addserver(interface, port, h, mode, autossl and ssl or nil);