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
commit8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7 (patch)
tree65fa5a9caa2b6eb979d751ac6a7cfb369174e1d8 /util/async.lua
parenta92b3b499c6319f0510af1772c92ea6637a456af (diff)
parentc6048a7cb4097d24b5c28a29247ba7175e00ea37 (diff)
downloadprosody-8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7.tar.gz
prosody-8f7f8d673ccf1ee7d115526d6bd7a805e0eed1d7.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