mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
core.modulemanager: Silence warning about unused err variable [luacheck]
This commit is contained in:
parent
5e83a19bc8
commit
3f89e9373b
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ local function do_reload_module(host, name)
|
|||
|
||||
local saved;
|
||||
if module_has_method(mod, "save") then
|
||||
local ok, ret, err = call_module_method(mod, "save");
|
||||
-- FIXME What goes in 'err' here?
|
||||
local ok, ret, err = call_module_method(mod, "save"); -- luacheck: ignore 211/err
|
||||
if ok then
|
||||
saved = ret;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue