aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-10-14 00:46:29 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-10-14 00:46:29 +0500
commita5161776319695ab00b67d421e20c2d6969def81 (patch)
treecc2c9f964813d6a3c6ce318f5021d29edc4855f7 /net/server_select.lua
parent25a821276d548f82d03eb85f93b13a1a9afe8f2f (diff)
downloadprosody-a5161776319695ab00b67d421e20c2d6969def81.tar.gz
prosody-a5161776319695ab00b67d421e20c2d6969def81.zip
net.server_event, net.server_select: Fixed some global pollution.
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua4
1 files changed, 2 insertions, 2 deletions
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