aboutsummaryrefslogtreecommitdiffstats
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
commitd4ebd958230a6d74b1537941ea454882a59ce39c (patch)
tree83414cf6c46defdc265795033680da652a712a13
parenta779d2e09ba457926a71910bd1cf0e2e35807df8 (diff)
downloadprosody-d4ebd958230a6d74b1537941ea454882a59ce39c.tar.gz
prosody-d4ebd958230a6d74b1537941ea454882a59ce39c.zip
mod_pubsub: Ignore unused parameter [luacheck]
-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