diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-08-13 23:38:50 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-08-13 23:38:50 +0100 |
commit | 4b544bde2749381d89e0b17b867289fa778e792a (patch) | |
tree | 4b7e073cdcb59dcd025ed364dd79254e99824dea | |
parent | 754483ceb68c6d2a86f2e9a7d704bb1489b09ebd (diff) | |
download | prosody-4b544bde2749381d89e0b17b867289fa778e792a.tar.gz prosody-4b544bde2749381d89e0b17b867289fa778e792a.zip |
util.async: Make guarder() local
-rw-r--r-- | util/async.lua | 2 |
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(); |