Diff

net/connlisteners.lua @ 2547:b2cb0935f158

net.connlisteners: Remove redundant variable declaration
author Matthew Wild <mwild1@gmail.com>
date Sun, 31 Jan 2010 15:44:55 +0000
parent 2546:cadfb455a00c
child 2551:5f15f21014c4
line wrap: on
line diff
--- 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);