aboutsummaryrefslogtreecommitdiffstats
path: root/util/async.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-17 22:28:48 +0200
committerKim Alvefur <zash@zash.se>2016-04-17 22:28:48 +0200
commite36fe26d08200dd714b69c9f8b4c798d1e3a723e (patch)
tree65fa5a9caa2b6eb979d751ac6a7cfb369174e1d8 /util/async.lua
parent0c5c1f5d0e105eea950e5fba1ea1a3a30f9ab1e9 (diff)
parentbbf1653e0470250acbd67998045d2ca2a382281a (diff)
downloadprosody-e36fe26d08200dd714b69c9f8b4c798d1e3a723e.tar.gz
prosody-e36fe26d08200dd714b69c9f8b4c798d1e3a723e.zip
Merge with Link Mauve
Diffstat (limited to 'util/async.lua')
-rw-r--r--util/async.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/async.lua b/util/async.lua
index 968ec804..7b2eae54 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -25,7 +25,7 @@ end
local function waiter(num)
local thread = coroutine.running();
if not thread then
- error("Not running in an async context, see http://prosody.im/doc/developers/async");
+ error("Not running in an async context, see https://prosody.im/doc/developers/async");
end
num = num or 1;
local waiting;
@@ -48,7 +48,7 @@ local function guarder()
return function (id, func)
local thread = coroutine.running();
if not thread then
- error("Not running in an async context, see http://prosody.im/doc/developers/async");
+ error("Not running in an async context, see https://prosody.im/doc/developers/async");
end
local guard = guards[id];
if not guard then