aboutsummaryrefslogtreecommitdiffstats
path: root/net/connlisteners.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-31 15:44:55 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-31 15:44:55 +0000
commit3a315a20ec1a3b8e25cf96084d3898bc5077c900 (patch)
tree56985ef4ef25c440807e523e9ee5937ccd546309 /net/connlisteners.lua
parent6ea82b6fd9b16114ca8d2f51143a49ea672002a7 (diff)
downloadprosody-3a315a20ec1a3b8e25cf96084d3898bc5077c900.tar.gz
prosody-3a315a20ec1a3b8e25cf96084d3898bc5077c900.zip
net.connlisteners: Remove redundant variable declaration
Diffstat (limited to 'net/connlisteners.lua')
-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);