diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/async.lua | 4 |
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 |