diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index efcbd769..f26178b9 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -192,7 +192,7 @@ local feature_map = { local function add_disco_features_from_service(disco, service) for method, features in pairs(feature_map) do if service[method] then - for _, feature in ipairs(feature_map) do + for _, feature in ipairs(features) do disco:tag("feature", { var = xmlns_pubsub.."#"..feature }):up(); end end |