diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-18 11:43:07 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-18 11:43:07 +0100 |
commit | 48726b9585d904877597baffdb18f24cfe7fbd8f (patch) | |
tree | 994e6873854c6ebb82e400ac408b26220a047562 /plugins/mod_pep_plus.lua | |
parent | 8e6967330508cb3c4243a48dda336dfd45829a17 (diff) | |
download | prosody-48726b9585d904877597baffdb18f24cfe7fbd8f.tar.gz prosody-48726b9585d904877597baffdb18f24cfe7fbd8f.zip |
mod_pep_plus: Fix a typo.
Diffstat (limited to 'plugins/mod_pep_plus.lua')
-rw-r--r-- | plugins/mod_pep_plus.lua | 4 |
1 files 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); |