aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-03 17:15:42 +0200
committerKim Alvefur <zash@zash.se>2018-08-03 17:15:42 +0200
commit4d70f3f2a9d3495c5be873298a995816fe8467ec (patch)
treeda247ad096f66b99220df458dfa1e04fda980acd /plugins/mod_pep.lua
parent8bb62f6b03572ec299d2998dfb0e0d52cf640f53 (diff)
downloadprosody-4d70f3f2a9d3495c5be873298a995816fe8467ec.tar.gz
prosody-4d70f3f2a9d3495c5be873298a995816fe8467ec.zip
mod_pep: Silence warnings about unused arguments [luacheck]
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
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