mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-18 22:15:20 +02:00
parent
61a58f6e67
commit
1663e78cf7
|
@ -264,14 +264,12 @@ listen_opt_type(check_from) ->
|
||||||
listen_opt_type(password) ->
|
listen_opt_type(password) ->
|
||||||
econf:binary();
|
econf:binary();
|
||||||
listen_opt_type(hosts) ->
|
listen_opt_type(hosts) ->
|
||||||
econf:and_then(
|
econf:map(
|
||||||
econf:map(
|
econf:domain(),
|
||||||
econf:domain(),
|
econf:and_then(
|
||||||
econf:options(
|
econf:options(
|
||||||
#{password => econf:binary()})),
|
#{password => econf:binary()}),
|
||||||
fun({Host, Opts}) ->
|
fun(Opts) -> proplists:get_value(password, Opts) end));
|
||||||
{Host, proplists:get_value(password, Opts)}
|
|
||||||
end);
|
|
||||||
listen_opt_type(global_routes) ->
|
listen_opt_type(global_routes) ->
|
||||||
econf:bool().
|
econf:bool().
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user