Software /
code /
prosody
Changeset
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 |
parents | 7141:362545c3f8bb |
children | 7143:fa6cd0e9105d |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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