aboutsummaryrefslogtreecommitdiffstats
path: root/util/async.lua
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
commit7f367c1d6eee23dfef56634f59b72f77f9b3a33c (patch)
tree4b7e073cdcb59dcd025ed364dd79254e99824dea /util/async.lua
parent14f85f2f4e06a46fd46bd33bbfb23ad642ec01fd (diff)
downloadprosody-7f367c1d6eee23dfef56634f59b72f77f9b3a33c.tar.gz
prosody-7f367c1d6eee23dfef56634f59b72f77f9b3a33c.zip
util.async: Make guarder() local
Diffstat (limited to 'util/async.lua')
-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();