Software /
code /
prosody
Changeset
8505:c9bdb4dfed96
mod_pubsub: Ignore unused parameter [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 02 Feb 2018 19:48:04 +0000 |
parents | 8504:80b8355c8b8b |
children | 8506:174fd716c9fa |
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 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