aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-02-02 19:48:04 +0000
committerMatthew Wild <mwild1@gmail.com>2018-02-02 19:48:04 +0000
commit27db2bc4316590c79bcecdb6bb0072b86e6137c9 (patch)
tree83414cf6c46defdc265795033680da652a712a13 /plugins
parent7ee19812b598d5774ea05685a0cf2f93ac2f06a2 (diff)
downloadprosody-27db2bc4316590c79bcecdb6bb0072b86e6137c9.tar.gz
prosody-27db2bc4316590c79bcecdb6bb0072b86e6137c9.zip
mod_pubsub: Ignore unused parameter [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 60f40374..2b07740a 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -62,7 +62,7 @@ end
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