mod_announce: Silence luacheck warning about unused variable

This commit is contained in:
Kim Alvefur 2019-12-23 21:43:34 +01:00
parent 7ee9d3b7af
commit e9cb34f310

View file

@ -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