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
commite31d31312f8dad7fd1cef5a8330f40283fb79298 (patch)
tree5f5000e6d6942e2cf37ee88c2855544a7984a8a8 /util
parent67293fc09fea737de37a2fea7b211aa44695b5bf (diff)
downloadprosody-e31d31312f8dad7fd1cef5a8330f40283fb79298.tar.gz
prosody-e31d31312f8dad7fd1cef5a8330f40283fb79298.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