Changeset

10545:2fbcdf6da331

mod_announce: Silence luacheck warning about unused variable
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 21:43:34 +0100
parents 10544:0bd408d93f9a
children 10546:944863f878b9
files plugins/mod_announce.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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