aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2017-09-15 17:17:07 -0400
committerWaqas Hussain <waqas20@gmail.com>2017-09-15 17:17:07 -0400
commita408d9d94650c1156431759db7ca31b97b2b7c14 (patch)
tree5f5000e6d6942e2cf37ee88c2855544a7984a8a8 /util
parentf9ead37d008e58daf1e3263298cfd4a1ab54d09c (diff)
downloadprosody-a408d9d94650c1156431759db7ca31b97b2b7c14.tar.gz
prosody-a408d9d94650c1156431759db7ca31b97b2b7c14.zip
util.async: Fix documentation URL
Diffstat (limited to 'util')
-rw-r--r--util/async.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/async.lua b/util/async.lua
index e8f898d9..2aff2f2d 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -27,7 +27,7 @@ end
local function waiter(num)
local thread = coroutine.running();
if not thread then
- error("Not running in an async context, see https://prosody.im/doc/developers/async");
+ error("Not running in an async context, see https://prosody.im/doc/developers/util/async");
end
num = num or 1;
local waiting;
@@ -50,7 +50,7 @@ local function guarder()
return function (id, func)
local thread = coroutine.running();
if not thread then
- error("Not running in an async context, see https://prosody.im/doc/developers/async");
+ error("Not running in an async context, see https://prosody.im/doc/developers/util/async");
end
local guard = guards[id];
if not guard then