diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-20 22:38:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-20 22:38:45 +0100 |
commit | 802fa58a2981bb53bad384092c8dbb11b6d3a98c (patch) | |
tree | 163ab93ee3f2368802c580b069d6e5508a5d6258 /core/modulemanager.lua | |
parent | 996e2640d0989ea962d2c0b2cad8898375cf9eed (diff) | |
download | prosody-802fa58a2981bb53bad384092c8dbb11b6d3a98c.tar.gz prosody-802fa58a2981bb53bad384092c8dbb11b6d3a98c.zip |
core.modulemanager: Silence warning about unused err variable [luacheck]
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 456f09f6..e23f1e55 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -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 |