projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moduleapi: Silence luacheck warning about unused 'id' parameter
[prosody.git]
/
core
/
moduleapi.lua
diff --git
a/core/moduleapi.lua
b/core/moduleapi.lua
index ff68a15ce420dce6e25dd07e6616cd97e6fe41aa..14e5771b1432940c9966c51990afd5db19936c23 100644
(file)
--- a/
core/moduleapi.lua
+++ b/
core/moduleapi.lua
@@
-399,7
+399,7
@@
function timer_methods:reschedule(delay)
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