aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-19 01:11:28 +0100
committerKim Alvefur <zash@zash.se>2016-11-19 01:11:28 +0100
commitc9778ba770df13acaf5e528b3f8905de108164e5 (patch)
treeaee388c869e3edb2294aefef6d702e5d3cdabe9d /util
parent1ab7b00c72112d8dcfa12c1de1d38047c346984e (diff)
downloadprosody-c9778ba770df13acaf5e528b3f8905de108164e5.tar.gz
prosody-c9778ba770df13acaf5e528b3f8905de108164e5.zip
util.async: Add annotation to ignore warning [luacheck]
Diffstat (limited to 'util')
-rw-r--r--util/async.lua2
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