diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-03 17:15:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-03 17:15:42 +0200 |
commit | 4e91846a0bcb35d7c586397c1d3e96147b2bae5f (patch) | |
tree | da247ad096f66b99220df458dfa1e04fda980acd /plugins/mod_pep.lua | |
parent | c2842236ae8cfde61a7346fed4a74232ad63238d (diff) | |
download | prosody-4e91846a0bcb35d7c586397c1d3e96147b2bae5f.tar.gz prosody-4e91846a0bcb35d7c586397c1d3e96147b2bae5f.zip |
mod_pep: Silence warnings about unused arguments [luacheck]
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |