# HG changeset patch # User Kim Alvefur # Date 1533309342 -7200 # Node ID 1b21f8ffaec8a0011ab86252092fec4a23330287 # Parent c040c358d6c037616b95c4197c06c8de87b51558 mod_pep: Silence warnings about unused arguments [luacheck] diff -r c040c358d6c0 -r 1b21f8ffaec8 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Fri Aug 03 13:44:30 2018 +0100 +++ b/plugins/mod_pep.lua Fri Aug 03 17:15:42 2018 +0200 @@ -40,7 +40,7 @@ return st.is_stanza(item) and item.attr.xmlns == xmlns_pubsub and item.name == "item"; end -function check_node_config(node, actor, new_config) +function check_node_config(node, actor, new_config) -- luacheck: ignore 212/node 212/actor if (new_config["max_items"] or 1) > max_max_items then return false; end