X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fasync.lua;h=7b2eae54b07eca616e8b03cc13a3ce8fbab54db9;hb=a42c0795142bf77347b6040e26a885eda1ee840c;hp=968ec80495489b51b66a8e1e1ba6f8c201b7e14d;hpb=442f0f4cf10aa1d2b7676ed99de31738a2c1d488;p=prosody.git 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