diff options
author | Nathan Bruning <n.bruning@innovattic.com> | 2014-07-15 12:04:06 +0200 |
---|---|---|
committer | Nathan Bruning <n.bruning@innovattic.com> | 2014-07-15 12:04:06 +0200 |
commit | 99c28ab4d6e9cb64ce96f4f3ab7d6c97650356e9 (patch) | |
tree | 69235a3a4004382600a2c1bcac10af4514272c62 | |
parent | Do not check for Erlang apps at configure time as it looks redundant (diff) |
Fix configuraton with custom nodetree plugin
-rw-r--r-- | src/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 168169a95..3dbbabe9f 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -387,7 +387,7 @@ init_send_loop(ServerHost, State) -> init_plugins(Host, ServerHost, Opts) -> TreePlugin = jlib:binary_to_atom(<<(?TREE_PREFIX)/binary, - (gen_mod:get_opt(nodetree, Opts, fun(A) when is_list(A) -> A end, + (gen_mod:get_opt(nodetree, Opts, fun(A) when is_binary(A) -> A end, ?STDTREE))/binary>>), ?DEBUG("** tree plugin is ~p", [TreePlugin]), TreePlugin:init(Host, ServerHost, Opts), |