Diff

util/async.lua @ 7361:3409773ca19a

Merge with Link Mauve
author Kim Alvefur <zash@zash.se>
date Sun, 17 Apr 2016 22:28:48 +0200 (2016-04-17)
parent 7359:a5a080c12c96
child 7436:649b89b2c840
line wrap: on
line diff
--- a/util/async.lua	Sun Apr 17 22:09:44 2016 +0200
+++ b/util/async.lua	Sun Apr 17 22:28:48 2016 +0200
@@ -25,7 +25,7 @@
 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 @@
 	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