# HG changeset patch # User Waqas Hussain # Date 1505510227 14400 # Node ID f81cd9aaf99493ceb542f76900d723daae5c4454 # Parent 4878e4159e129af7d9f8fb8ad27efbd007b69c19 util.async: Fix documentation URL diff -r 4878e4159e12 -r f81cd9aaf994 util/async.lua --- 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