mod_pubsub: Ignore unused parameter [luacheck]
authorMatthew Wild <mwild1@gmail.com>
Fri, 02 Feb 2018 19:48:04 +0000
changeset 8508 c9bdb4dfed96
parent 8507 80b8355c8b8b
child 8509 174fd716c9fa
mod_pubsub: Ignore unused parameter [luacheck]
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