diff --git a/ChangeLog b/ChangeLog index d02b950f8..eca114317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-02-03 Alexey Shchepin + * src/ejabberd_auth_odbc.erl: Added ejabberd_odbc_sup to ejabberd + supervision tree + * src/web/ejabberd_http.erl: Authentication check moved to ejabberd_web.erl * src/web/ejabberd_web.erl: Likewise diff --git a/src/ejabberd_auth_odbc.erl b/src/ejabberd_auth_odbc.erl index 4975b5104..a19ffd4e4 100644 --- a/src/ejabberd_auth_odbc.erl +++ b/src/ejabberd_auth_odbc.erl @@ -34,7 +34,14 @@ %%% API %%%---------------------------------------------------------------------- start(Host) -> - ejabberd_odbc_sup:start_link(Host), + ChildSpec = + {ejabberd_odbc_sup, + {ejabberd_odbc_sup, start_link, [Host]}, + temporary, + infinity, + supervisor, + [ejabberd_odbc_sup]}, + supervisor:start_child(ejabberd_sup, ChildSpec), ok. plain_password_required() ->