]> granicus.if.org Git - ejabberd/commitdiff
Fix small compilation error introduced in revision 1923
authorBadlop <badlop@process-one.net>
Sat, 28 Feb 2009 00:01:27 +0000 (00:01 +0000)
committerBadlop <badlop@process-one.net>
Sat, 28 Feb 2009 00:01:27 +0000 (00:01 +0000)
SVN Revision: 1931

src/mod_pubsub/node_default.erl

index 37d18cd7d85e97e7a5c0b0aeea609e122977003d..bcca00433134ddee915645e4d7f3c33910c1cf55 100644 (file)
@@ -595,7 +595,7 @@ set_affiliation(Host, Node, Owner, Affiliation) ->
 %% that will be added to the affiliation stored in the main
 %% <tt>pubsub_state</tt> table.</p>
 get_entity_subscriptions(Host, Owner) ->
-    SubKey = jlib:jid_tolower(Owner),
+    {U, D, _} = SubKey = jlib:jid_tolower(Owner),
     GenKey = jlib:jid_remove_resource(SubKey),
     States = case SubKey of
        GenKey -> mnesia:match_object(