# HG changeset patch # User Matthew Wild # Date 1517600884 0 # Node ID c9bdb4dfed96bbbed4caf42fc9625372427c979e # Parent 80b8355c8b8b8b0afe68e1d50f4087da8f23d550 mod_pubsub: Ignore unused parameter [luacheck] diff -r 80b8355c8b8b -r c9bdb4dfed96 plugins/mod_pubsub/mod_pubsub.lua --- a/plugins/mod_pubsub/mod_pubsub.lua Fri Feb 02 19:46:33 2018 +0000 +++ b/plugins/mod_pubsub/mod_pubsub.lua Fri Feb 02 19:48:04 2018 +0000 @@ -62,7 +62,7 @@ module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq); module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq); -local function add_disco_features_from_service(service) +local function add_disco_features_from_service(service) --luacheck: ignore 431/service for feature in lib_pubsub.get_feature_set(service) do module:add_feature(xmlns_pubsub.."#"..feature); end