mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
parent
bb26d7c379
commit
c48e972573
@ -557,11 +557,13 @@ pre_validate(Y1) ->
|
|||||||
version => ejabberd_options:opt_type(version),
|
version => ejabberd_options:opt_type(version),
|
||||||
host_config => econf:map(econf:binary(), econf:any()),
|
host_config => econf:map(econf:binary(), econf:any()),
|
||||||
append_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()},
|
'_' => econf:any()},
|
||||||
[{required, [hosts]}]),
|
[{required, [hosts]}]),
|
||||||
Y1) of
|
Y1) of
|
||||||
{ok, Y2} ->
|
{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 ->
|
||||||
Err
|
Err
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user