Changeset

8237:f81cd9aaf994

util.async: Fix documentation URL
author Waqas Hussain <waqas20@gmail.com>
date Fri, 15 Sep 2017 17:17:07 -0400
parents 8236:4878e4159e12
children 8238:1339d7ed54d5
files util/async.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/async.lua	Fri Sep 15 17:07:57 2017 -0400
+++ b/util/async.lua	Fri Sep 15 17:17:07 2017 -0400
@@ -27,7 +27,7 @@
 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 @@
 	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