# HG changeset patch # User Kim Alvefur # Date 1545530758 -3600 # Node ID 8e6a0e1c187616b1330cfef53b640de6a96e4300 # Parent 3c6e266391a23f949b3f8c3ef549501e618f2c23 mod_pubsub: Change order of luacheck directives to match arguments they apply to diff -r 3c6e266391a2 -r 8e6a0e1c1876 plugins/mod_pubsub/mod_pubsub.lua --- 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