diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-31 15:44:55 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-31 15:44:55 +0000 |
commit | 3a315a20ec1a3b8e25cf96084d3898bc5077c900 (patch) | |
tree | 56985ef4ef25c440807e523e9ee5937ccd546309 | |
parent | 6ea82b6fd9b16114ca8d2f51143a49ea672002a7 (diff) | |
download | prosody-3a315a20ec1a3b8e25cf96084d3898bc5077c900.tar.gz prosody-3a315a20ec1a3b8e25cf96084d3898bc5077c900.zip |
net.connlisteners: Remove redundant variable declaration
-rw-r--r-- | net/connlisteners.lua | 1 |
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); |