aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_announce.lua
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
commite9cb34f310d4998077882c3ffd3d22bef4532d7c (patch)
treec376ddeda4fd3d243d744aab0016531ed67d0718 /plugins/mod_announce.lua
parent7ee9d3b7af9862e08fa94841f19afaf2c92f0681 (diff)
downloadprosody-e9cb34f310d4998077882c3ffd3d22bef4532d7c.tar.gz
prosody-e9cb34f310d4998077882c3ffd3d22bef4532d7c.zip
mod_announce: Silence luacheck warning about unused variable
Diffstat (limited to 'plugins/mod_announce.lua')
-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