From 4d70f3f2a9d3495c5be873298a995816fe8467ec Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 3 Aug 2018 17:15:42 +0200 Subject: mod_pep: Silence warnings about unused arguments [luacheck] --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 7c40cc81..110929b0 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -40,7 +40,7 @@ function is_item_stanza(item) 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 -- cgit v1.2.3