mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_announce: Silence luacheck warning about unused variable
This commit is contained in:
parent
d7df11baf3
commit
a2cfaf8c28
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue