From e31d31312f8dad7fd1cef5a8330f40283fb79298 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 15 Sep 2017 17:17:07 -0400 Subject: util.async: Fix documentation URL --- util/async.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') 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 -- cgit v1.2.3