From a8fc120451d3bc0cef65e8576a2fa2ea8c5d5427 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 14 Oct 2011 00:46:29 +0500 Subject: net.server_event, net.server_select: Fixed some global pollution. --- net/server_select.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/server_select.lua') diff --git a/net/server_select.lua b/net/server_select.lua index 65a4f764..412d03c0 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -781,7 +781,7 @@ end local quitting; -setquitting = function (quit) +local function setquitting(quit) quitting = not not quit; end @@ -832,7 +832,7 @@ loop = function(once) -- this is the main loop of the program return "quitting" end -step = function () +local function step() return loop(true); end -- cgit v1.2.3