diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2014-07-21 17:14:59 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2014-07-21 17:14:59 +0200 |
commit | 320abee110b39ad5f5c48d490957b87d480ac802 (patch) | |
tree | fd351616a784c5a1f69126fe5f5c80dc95526214 /src | |
parent | Merge pull request #250 from Iperity/master (diff) |
apply pull request #250 to pubsub_odbc as well
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_pubsub_odbc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub_odbc.erl b/src/mod_pubsub_odbc.erl index 45c30a11b..a5e05a8d7 100644 --- a/src/mod_pubsub_odbc.erl +++ b/src/mod_pubsub_odbc.erl @@ -385,7 +385,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, (?ODBC_SUFFIX)/binary>>), ?DEBUG("** tree plugin is ~p", [TreePlugin]), |