Diff

net/server_select.lua @ 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
parent 3008:23915803adbf
child 3311:88cfe1bba690
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