aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Bruning <n.bruning@innovattic.com>2014-07-15 12:04:06 +0200
committerNathan Bruning <n.bruning@innovattic.com>2014-07-15 12:04:06 +0200
commit99c28ab4d6e9cb64ce96f4f3ab7d6c97650356e9 (patch)
tree69235a3a4004382600a2c1bcac10af4514272c62 /src
parentDo not check for Erlang apps at configure time as it looks redundant (diff)
Fix configuraton with custom nodetree plugin
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub.erl2
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),