diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-20 22:33:24 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-20 22:33:24 +0100 |
commit | 996e2640d0989ea962d2c0b2cad8898375cf9eed (patch) | |
tree | 440b7de95ce923beb0c48f0bbbca5f1e2c70e3c0 /core | |
parent | da8be04d4f0ce33d17a40e9f65cce0ef45dbe086 (diff) | |
download | prosody-996e2640d0989ea962d2c0b2cad8898375cf9eed.tar.gz prosody-996e2640d0989ea962d2c0b2cad8898375cf9eed.zip |
core.stanza_router: Silence warning about unused err_message [luacheck]
Diffstat (limited to 'core')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index dab83803..1d8db3e7 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -28,7 +28,7 @@ local function handle_unhandled_stanza(host, origin, stanza) --luacheck: ignore local st_type = stanza.attr.type; if st_type == "error" or (name == "iq" and st_type == "result") then if st_type == "error" then - local err_type, err_condition, err_message = stanza:get_error(); + local err_type, err_condition, err_message = stanza:get_error(); -- luacheck: ignore 211/err_message log("debug", "Discarding unhandled error %s (%s, %s) from %s: %s", name, err_type, err_condition or "unknown condition", origin_type, stanza:top_tag()); else |