From 877a864ba34dd6f2bf7f9da43e044dd54a55ffb8 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 19 May 2010 10:43:07 +0200 Subject: [PATCH] remove useless binding --- src/mod_pubsub/node_pep.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub/node_pep.erl b/src/mod_pubsub/node_pep.erl index 493de3904..66522460b 100644 --- a/src/mod_pubsub/node_pep.erl +++ b/src/mod_pubsub/node_pep.erl @@ -175,7 +175,7 @@ purge_node(NodeId, Owner) -> node_flat:purge_node(NodeId, Owner). get_entity_affiliations(_Host, Owner) -> - {_, D, _} = SubKey = jlib:short_prepd_jid(Owner), + {_, D, _} = jlib:short_prepd_jid(Owner), GenKey = jlib:short_prepd_bare_jid(Owner), States = mnesia:match_object(#pubsub_state{stateid = {GenKey, '_'}, _ = '_'}), NodeTree = case catch ets:lookup(gen_mod:get_module_proc(D, config), nodetree) of