Diff

util/async.lua @ 7359:a5a080c12c96

Update every link to the documentation to use HTTPS
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 16 Apr 2016 21:08:05 +0100
parent 5797:a493b79cfad0
child 7436:649b89b2c840
line wrap: on
line diff
--- a/util/async.lua	Sat Apr 16 20:56:47 2016 +0100
+++ b/util/async.lua	Sat Apr 16 21:08:05 2016 +0100
@@ -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