From: Holger Weiss Date: Sat, 24 Dec 2016 23:58:20 +0000 (+0100) Subject: Fix 'nodetree' configuration lookups for PEP X-Git-Tag: 17.01~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ef8dfb4e0d61f34ce07e7b65edcbe0cb164d2f5;p=ejabberd Fix 'nodetree' configuration lookups for PEP --- diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 717796fec..57e795290 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(Host, nodetree) of + case config(serverhost(Host), nodetree) of undefined -> tree(Host, ?STDTREE); Tree -> Tree end.