Software /
code /
prosody
Changeset
9724:8e6a0e1c1876
mod_pubsub: Change order of luacheck directives to match arguments they apply to
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 23 Dec 2018 03:05:58 +0100 |
parents | 9723:3c6e266391a2 |
children | 9725:8ad689b6d26f |
files | plugins/mod_pubsub/mod_pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Sun Dec 23 02:56:10 2018 +0100 +++ b/plugins/mod_pubsub/mod_pubsub.lua Sun Dec 23 03:05:58 2018 +0100 @@ -99,7 +99,7 @@ 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