mod_pep: Silence warnings about unused arguments [luacheck]
authorKim Alvefur <zash@zash.se>
Fri, 03 Aug 2018 17:15:42 +0200
changeset 9083 1b21f8ffaec8
parent 9082 c040c358d6c0
child 9084 ce57c69a20e2
mod_pep: Silence warnings about unused arguments [luacheck]
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