Mercurial > prosody-hg
diff net/server_select.lua @ 4399:1b4161970842
net.server_event, net.server_select: Fixed some global pollution.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Fri, 14 Oct 2011 00:46:29 +0500 |
| parents | 7958680c459a |
| children | 8e02ba75ef06 |
line wrap: on
line diff
--- a/net/server_select.lua Fri Aug 12 00:01:35 2011 +0200 +++ b/net/server_select.lua Fri Oct 14 00:46:29 2011 +0500 @@ -781,7 +781,7 @@ local quitting; -setquitting = function (quit) +local function setquitting(quit) quitting = not not quit; end @@ -832,7 +832,7 @@ return "quitting" end -step = function () +local function step() return loop(true); end
