From df92d96d4f12f7236c58c230201fa47d4e7078c8 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 25 Dec 2016 01:24:40 +0100 Subject: [PATCH] Revert "Fix 'nodetree' configuration lookups for PEP" This reverts commit 7ef8dfb4e0d61f34ce07e7b65edcbe0cb164d2f5. The config/3 function copes with the PEP case. --- src/mod_pubsub.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 57e795290..717796fec 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.