summaryrefslogtreecommitdiff
path: root/src/mod_pubsub.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2013-08-27 14:23:52 +0200
committerChristophe Romain <christophe.romain@process-one.net>2013-08-27 14:46:54 +0200
commit63b2d21b1307e5ec547f08fb21b257baeeb13792 (patch)
treece83ca3d8b3aab46438bee7f27f7836ee9aa0a7a /src/mod_pubsub.erl
parentfix build of Parents list in #pubsub_node (diff)
clean subscriptions handling and avoid function_clause
Diffstat (limited to 'src/mod_pubsub.erl')
-rw-r--r--src/mod_pubsub.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index 573fbb83..5885a604 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -1302,7 +1302,8 @@ remove_user(User, Server) ->
[NodeId,
Entity,
JID,
- all])
+ all]);
+ (_) -> ok
end,
Subscriptions),
{result, Affiliations} =