Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 8505:c9bdb4dfed96

mod_pubsub: Ignore unused parameter [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Feb 2018 19:48:04 +0000
parent 8504:80b8355c8b8b
child 8695:09e7fd8b16cd
comparison
equal deleted inserted replaced
8504:80b8355c8b8b 8505:c9bdb4dfed96
60 end 60 end
61 61
62 module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq); 62 module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq);
63 module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq); 63 module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq);
64 64
65 local function add_disco_features_from_service(service) 65 local function add_disco_features_from_service(service) --luacheck: ignore 431/service
66 for feature in lib_pubsub.get_feature_set(service) do 66 for feature in lib_pubsub.get_feature_set(service) do
67 module:add_feature(xmlns_pubsub.."#"..feature); 67 module:add_feature(xmlns_pubsub.."#"..feature);
68 end 68 end
69 end 69 end
70 70