From: Holger Weiss Date: Sun, 25 Dec 2016 00:24:40 +0000 (+0100) Subject: Revert "Fix 'nodetree' configuration lookups for PEP" X-Git-Tag: 17.01~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df92d96d4f12f7236c58c230201fa47d4e7078c8;p=ejabberd Revert "Fix 'nodetree' configuration lookups for PEP" This reverts commit 7ef8dfb4e0d61f34ce07e7b65edcbe0cb164d2f5. The config/3 function copes with the PEP case. --- 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.