Software /
code /
prosody
Diff
plugins/mod_pubsub/mod_pubsub.lua @ 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 |
parent | 9720:e7ddf70ae417 |
child | 9725:8ad689b6d26f |
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