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 | bdaf30fb8741ebbf5804dfff210bfd8a3eac66d5 (patch) | |
tree | aee388c869e3edb2294aefef6d702e5d3cdabe9d | |
parent | cf352af83d3f650160246298f5adf20ff6904af3 (diff) | |
download | prosody-bdaf30fb8741ebbf5804dfff210bfd8a3eac66d5.tar.gz prosody-bdaf30fb8741ebbf5804dfff210bfd8a3eac66d5.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 |