mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
parent
bb26d7c379
commit
c48e972573
@ -557,11 +557,13 @@ pre_validate(Y1) ->
|
||||
version => ejabberd_options:opt_type(version),
|
||||
host_config => econf:map(econf:binary(), econf:any()),
|
||||
append_host_config => econf:map(econf:binary(), econf:any()),
|
||||
modules => ejabberd_options:opt_type(modules),
|
||||
'_' => econf:any()},
|
||||
[{required, [hosts]}]),
|
||||
Y1) of
|
||||
{ok, Y2} ->
|
||||
{ok, group_duplicated_options(Y2, [append_host_config, host_config])};
|
||||
{ok, group_duplicated_options(
|
||||
Y2, [append_host_config, host_config, modules])};
|
||||
Err ->
|
||||
Err
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user