summaryrefslogtreecommitdiff
path: root/src/mod_pubsub.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2016-12-25 01:24:40 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2016-12-25 01:24:40 +0100
commitdf92d96d4f12f7236c58c230201fa47d4e7078c8 (patch)
tree8d5b2dbbec8b25a64ce654e331753b1e7bf47a74 /src/mod_pubsub.erl
parentFix 'nodetree' configuration lookups for PEP (diff)
Revert "Fix 'nodetree' configuration lookups for PEP"
This reverts commit 7ef8dfb4e0d61f34ce07e7b65edcbe0cb164d2f5. The config/3 function copes with the PEP case.
Diffstat (limited to 'src/mod_pubsub.erl')
-rw-r--r--src/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index 57e79529..717796fe 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -3432,7 +3432,7 @@ serverhost(Host) ->
-spec tree(host()) -> atom().
tree(Host) ->
- case config(serverhost(Host), nodetree) of
+ case config(Host, nodetree) of
undefined -> tree(Host, ?STDTREE);
Tree -> Tree
end.