mod_announce: Silence luacheck warning about unused variable

This commit is contained in:
Kim Alvefur 2019-12-23 21:43:34 +01:00
parent d7df11baf3
commit a2cfaf8c28

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