aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-12-23 03:05:58 +0100
committerKim Alvefur <zash@zash.se>2018-12-23 03:05:58 +0100
commit27112c0d94020fc1e24ed2b8c1673042f7a02798 (patch)
tree0df3116d8e4dd2e8833e0c419bee1dfdd60dd7d3 /plugins
parent6eb576e9d9282dc9cb27b0a44472183280abaafd (diff)
downloadprosody-27112c0d94020fc1e24ed2b8c1673042f7a02798.tar.gz
prosody-27112c0d94020fc1e24ed2b8c1673042f7a02798.zip
mod_pubsub: Change order of luacheck directives to match arguments they apply to
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 1edc721b..abc4fee8 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -99,7 +99,7 @@ function simple_broadcast(kind, node, jids, item, actor, node_obj)
end
local max_max_items = module:get_option_number("pubsub_max_items", 256);
-function check_node_config(node, actor, new_config) -- luacheck: ignore 212/actor 212/node
+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