mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
We need to set hosts in options to be able to retrieve 'MYHOSTS'
This commit is contained in:
parent
232915184c
commit
67b9b82261
@ -93,7 +93,7 @@ hosts_to_start(State) ->
|
||||
-spec(start/2 :: (Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok).
|
||||
start(Hosts, Opts) ->
|
||||
mnesia_init(),
|
||||
set_opts(#state{hosts = Hosts, opts = Opts}).
|
||||
set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})).
|
||||
|
||||
mnesia_init() ->
|
||||
case catch mnesia:table_info(local_config, storage_type) of
|
||||
|
Loading…
Reference in New Issue
Block a user