net.connlisteners: Remove redundant variable declaration

Sun, 31 Jan 2010 15:44:55 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 31 Jan 2010 15:44:55 +0000
changeset 2547
b2cb0935f158
parent 2546
cadfb455a00c
child 2548
e12acef85166

net.connlisteners: Remove redundant variable declaration

net/connlisteners.lua file | annotate | diff | comparison | revisions
--- a/net/connlisteners.lua	Sun Jan 31 15:44:05 2010 +0000
+++ b/net/connlisteners.lua	Sun Jan 31 15:44:55 2010 +0000
@@ -57,7 +57,6 @@
 	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);

mercurial