mod_announce: Silence luacheck warning about unused variable
authorKim Alvefur <zash@zash.se>
Mon, 23 Dec 2019 21:43:34 +0100
changeset 10549 2fbcdf6da331
parent 10548 0bd408d93f9a
child 10550 944863f878b9
mod_announce: Silence luacheck warning about unused variable
plugins/mod_announce.lua
--- a/plugins/mod_announce.lua	Mon Dec 23 21:38:19 2019 +0100
+++ b/plugins/mod_announce.lua	Mon Dec 23 21:43:34 2019 +0100
@@ -38,6 +38,7 @@
 -- 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