Diff

plugins/mod_announce.lua @ 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
parent 10026:1117138fa372
child 12642:9061f9621330
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