util.async: Make guarder() local

This commit is contained in:
Matthew Wild 2013-08-13 23:38:50 +01:00
parent 14f85f2f4e
commit 7f367c1d6e

View file

@ -43,7 +43,7 @@ local function waiter(num)
end; end;
end end
function guarder() local function guarder()
local guards = {}; local guards = {};
return function (id, func) return function (id, func)
local thread = coroutine.running(); local thread = coroutine.running();