mod_pep_plus: Fix a typo.
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 18 Oct 2017 11:43:07 +0100
changeset 8345 0c0990a575de
parent 8344 910d3c3f60a6
child 8346 5df2f240173b
mod_pep_plus: Fix a typo.
plugins/mod_pep_plus.lua
--- a/plugins/mod_pep_plus.lua	Wed Oct 18 09:43:43 2017 +0200
+++ b/plugins/mod_pep_plus.lua	Wed Oct 18 11:43:07 2017 +0100
@@ -416,7 +416,7 @@
 	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 @@
 		"presence-subscribe",
 	};
 
-	for feature in suppored_features do
+	for feature in supported_features do
 		reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up();
 	end
 end);