mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
apply pull request #250 to pubsub_odbc as well
This commit is contained in:
parent
0579fc80ec
commit
320abee110
@ -385,7 +385,7 @@ init_send_loop(ServerHost, State) ->
|
|||||||
init_plugins(Host, ServerHost, Opts) ->
|
init_plugins(Host, ServerHost, Opts) ->
|
||||||
TreePlugin =
|
TreePlugin =
|
||||||
jlib:binary_to_atom(<<(?TREE_PREFIX)/binary,
|
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,
|
?STDTREE))/binary,
|
||||||
(?ODBC_SUFFIX)/binary>>),
|
(?ODBC_SUFFIX)/binary>>),
|
||||||
?DEBUG("** tree plugin is ~p", [TreePlugin]),
|
?DEBUG("** tree plugin is ~p", [TreePlugin]),
|
||||||
|
Loading…
Reference in New Issue
Block a user