diff options
author | Christophe Romain <chris.romain@gmail.com> | 2014-07-21 17:11:29 +0200 |
---|---|---|
committer | Christophe Romain <chris.romain@gmail.com> | 2014-07-21 17:11:29 +0200 |
commit | 0579fc80ec467737091b4b36a2b2305229537902 (patch) | |
tree | 9c070720062d5368396aa63bbc3bee60caec78a7 | |
parent | html guide is now generated when building source tarball (diff) | |
parent | Fix configuraton with custom nodetree plugin (diff) |
Merge pull request #250 from Iperity/master
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), |