aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-08-13 23:38:50 +0100
committerMatthew Wild <mwild1@gmail.com>2013-08-13 23:38:50 +0100
commit4b544bde2749381d89e0b17b867289fa778e792a (patch)
tree4b7e073cdcb59dcd025ed364dd79254e99824dea
parent754483ceb68c6d2a86f2e9a7d704bb1489b09ebd (diff)
downloadprosody-4b544bde2749381d89e0b17b867289fa778e792a.tar.gz
prosody-4b544bde2749381d89e0b17b867289fa778e792a.zip
util.async: Make guarder() local
-rw-r--r--util/async.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/async.lua b/util/async.lua
index 32ed0542..968ec804 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -43,7 +43,7 @@ local function waiter(num)
end;
end
-function guarder()
+local function guarder()
local guards = {};
return function (id, func)
local thread = coroutine.running();