Software /
code /
prosody
Diff
core/moduleapi.lua @ 7142:67226eaef97c
moduleapi: Silence luacheck warning about unused 'id' parameter
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Feb 2016 00:10:27 +0000 |
parent | 7141:362545c3f8bb |
child | 7164:af26e8eb591f |
line wrap: on
line diff
--- a/core/moduleapi.lua Fri Feb 05 00:04:11 2016 +0000 +++ b/core/moduleapi.lua Fri Feb 05 00:10:27 2016 +0000 @@ -399,7 +399,7 @@ timer.reschedule(self.id, delay) end -local function timer_callback(now, id, t) +local function timer_callback(now, id, t) --luacheck: ignore 212/id if t.module_env.loaded == false then return; end return t.callback(now, unpack(t, 1, t.n)); end