Software /
code /
prosody
Changeset
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 |
parents | 9079:c040c358d6c0 |
children | 9081:ce57c69a20e2 |
files | plugins/mod_pep.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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