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:
parent
67fbbe7a0b
commit
a205ebad2b
30 changed files with 135 additions and 214 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue