Skip to content

Commit

Permalink
Revert "Fix 'nodetree' configuration lookups for PEP"
Browse files Browse the repository at this point in the history
This reverts commit 7ef8dfb.

The config/3 function copes with the PEP case.
  • Loading branch information
weiss committed Dec 25, 2016
1 parent 7ef8dfb commit df92d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_pubsub.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit df92d96

Please sign in to comment.