]> granicus.if.org Git - ejabberd/commitdiff
Fix get_subscription_lists/4
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 29 Apr 2012 09:34:57 +0000 (19:34 +1000)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 29 Apr 2012 09:34:57 +0000 (19:34 +1000)
src/mod_roster.erl

index 5e6b4fd521be7960b2380c5829205cdf2101e6d1..65d5c0965a4c4b1cf6d65d8e0bc8d218919a1ae8 100644 (file)
@@ -598,7 +598,7 @@ get_subscription_lists(_, LUser, LServer, mnesia) ->
        Items when is_list(Items) ->
             Items;
        _ ->
-           {[], []}
+            []
     end;
 get_subscription_lists(_, LUser, LServer, odbc) ->
     Username = ejabberd_odbc:escape(LUser),