diff options
author | Kim Alvefur <zash@zash.se> | 2016-11-19 01:11:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-11-19 01:11:28 +0100 |
commit | c9778ba770df13acaf5e528b3f8905de108164e5 (patch) | |
tree | aee388c869e3edb2294aefef6d702e5d3cdabe9d | |
parent | 1ab7b00c72112d8dcfa12c1de1d38047c346984e (diff) | |
download | prosody-c9778ba770df13acaf5e528b3f8905de108164e5.tar.gz prosody-c9778ba770df13acaf5e528b3f8905de108164e5.zip |
util.async: Add annotation to ignore warning [luacheck]
-rw-r--r-- | util/async.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/async.lua b/util/async.lua index 367a75b5..e8f898d9 100644 --- a/util/async.lua +++ b/util/async.lua @@ -85,7 +85,7 @@ local runner_mt = {}; runner_mt.__index = runner_mt; local function runner_create_thread(func, self) - local thread = coroutine.create(function (self) + local thread = coroutine.create(function (self) -- luacheck: ignore 432/self while true do func(coroutine.yield("ready", self)); end |