From 4d367d534969d3e0070b4e9f85d4810dbfdfe25a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 18 Oct 2017 11:43:07 +0100 Subject: mod_pep_plus: Fix a typo. --- plugins/mod_pep_plus.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua index d39d53c7..cd7dfc01 100644 --- a/plugins/mod_pep_plus.lua +++ b/plugins/mod_pep_plus.lua @@ -416,7 +416,7 @@ module:hook("account-disco-info", function(event) local username = jid_split(reply.attr.from) or origin.username; local service = get_pep_service(username); - local suppored_features = lib_pubsub.get_feature_set(service) + set.new{ + local supported_features = lib_pubsub.get_feature_set(service) + set.new{ -- Features not covered by the above "access-presence", "auto-subscribe", @@ -427,7 +427,7 @@ module:hook("account-disco-info", function(event) "presence-subscribe", }; - for feature in suppored_features do + for feature in supported_features do reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up(); end end); -- cgit v1.2.3