]> granicus.if.org Git - ejabberd/commitdiff
backport typo fix from trunk
authorChristophe Romain <christophe.romain@process-one.net>
Wed, 4 Mar 2009 00:01:19 +0000 (00:01 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Wed, 4 Mar 2009 00:01:19 +0000 (00:01 +0000)
SVN Revision: 1959

src/mod_pubsub/mod_pubsub.erl

index 00079b26be37827e6d20a8c7e0e831439bcfb8ec..d9096fb073badd21790d0696091f6294f8b13bb8 100644 (file)
@@ -2012,7 +2012,7 @@ get_subscriptions(Host, Node, JID) ->
                     if
                         not RetrieveFeature ->
                             %% Service does not support manage subscriptions
-                            {error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "manage-affiliations")};
+                            {error, extended_error(?ERR_FEATURE_NOT_IMPLEMENTED, unsupported, "manage-subscriptions")};
                         Affiliation /= {result, owner} ->
                             %% Entity is not an owner
                             {error, ?ERR_FORBIDDEN};