Software /
code /
prosody
Diff
plugins/mod_pep.lua @ 9080:1b21f8ffaec8
mod_pep: Silence warnings about unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 Aug 2018 17:15:42 +0200 |
parent | 9077:aefb96a52f5f |
child | 9082:297a06074175 |
line wrap: on
line diff
--- 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