aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 21:43:34 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 21:43:34 +0100
commita2cfaf8c28ec3f90ec0f548b240091053d5571c6 (patch)
treec376ddeda4fd3d243d744aab0016531ed67d0718 /plugins
parentd7df11baf30a0308a8ed1c40b365051a19c74f92 (diff)
downloadprosody-a2cfaf8c28ec3f90ec0f548b240091053d5571c6.tar.gz
prosody-a2cfaf8c28ec3f90ec0f548b240091053d5571c6.zip
mod_announce: Silence luacheck warning about unused variable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_announce.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua
index 970a273a..c742ebb8 100644
--- a/plugins/mod_announce.lua
+++ b/plugins/mod_announce.lua
@@ -38,6 +38,7 @@ end
-- Old <message>-based jabberd-style announcement sending
function handle_announcement(event)
local stanza = event.stanza;
+ -- luacheck: ignore 211/node
local node, host, resource = jid.split(stanza.attr.to);
if resource ~= "announce/online" then