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 | 5e83a19bc8899ee4282a8370596b3bc43b6e34cc (patch) | |
tree | 440b7de95ce923beb0c48f0bbbca5f1e2c70e3c0 /core | |
parent | 6d3006307dd0bd38861102dcd2d51cb75e100224 (diff) | |
download | prosody-5e83a19bc8899ee4282a8370596b3bc43b6e34cc.tar.gz prosody-5e83a19bc8899ee4282a8370596b3bc43b6e34cc.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 |