1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 02:29:34 +02:00

Get rid of "well-known" type

This commit is contained in:
Evgeny Khramtsov 2019-06-15 12:53:16 +03:00
parent 67fbbe7a0b
commit a205ebad2b
30 changed files with 135 additions and 214 deletions

View file

@ -1140,9 +1140,9 @@ mod_opt_type(limits) ->
#{message => econf:non_neg_int(infinite),
presence => econf:non_neg_int(infinite)})});
mod_opt_type(host) ->
econf:well_known(host, ?MODULE);
econf:host();
mod_opt_type(hosts) ->
econf:well_known(hosts, ?MODULE).
econf:hosts().
mod_options(Host) ->
[{access, all},