aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-20 22:38:45 +0100
committerKim Alvefur <zash@zash.se>2019-12-20 22:38:45 +0100
commit3f89e9373b5978f18bed6b62bc1dceb3887364d8 (patch)
tree163ab93ee3f2368802c580b069d6e5508a5d6258 /core/modulemanager.lua
parent5e83a19bc8899ee4282a8370596b3bc43b6e34cc (diff)
downloadprosody-3f89e9373b5978f18bed6b62bc1dceb3887364d8.tar.gz
prosody-3f89e9373b5978f18bed6b62bc1dceb3887364d8.zip
core.modulemanager: Silence warning about unused err variable [luacheck]
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua3
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