Changeset

3310:ddcab5be2a5e

net.server_select: Fix a snippet of code that was living at the wrong indentation level
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Jul 2010 17:23:17 +0100
parents 3309:1c58cb93ef3e
children 3311:88cfe1bba690
files net/server_select.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Fri Jul 02 17:22:23 2010 +0100
+++ b/net/server_select.lua	Fri Jul 02 17:23:17 2010 +0100
@@ -343,9 +343,9 @@
 			_closelist[ handler ] = nil
 			handler = nil
 		end
-	if server then
-		server.remove( )
-	end
+		if server then
+			server.remove( )
+		end
 		out_put "server.lua: closed client handler and removed socket from list"
 		return true
 	end