aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep_plus.lua
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-18 11:43:07 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-18 11:43:07 +0100
commit4d367d534969d3e0070b4e9f85d4810dbfdfe25a (patch)
tree994e6873854c6ebb82e400ac408b26220a047562 /plugins/mod_pep_plus.lua
parent1bc60c3621e3e2a091ac0bd65ecba9dc50ff15be (diff)
downloadprosody-4d367d534969d3e0070b4e9f85d4810dbfdfe25a.tar.gz
prosody-4d367d534969d3e0070b4e9f85d4810dbfdfe25a.zip
mod_pep_plus: Fix a typo.
Diffstat (limited to 'plugins/mod_pep_plus.lua')
-rw-r--r--plugins/mod_pep_plus.lua4
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);