Use new validator in mod_deny_omemo

This commit is contained in:
Evgeny Khramtsov 2019-06-21 21:46:24 +03:00
parent 0db6868aa6
commit 9404980f0d
1 changed files with 2 additions and 2 deletions

View File

@ -64,9 +64,9 @@ stop(Host) ->
reload(_Host, _NewOpts, _OldOpts) -> reload(_Host, _NewOpts, _OldOpts) ->
ok. ok.
-spec mod_opt_type(atom()) -> fun((term()) -> term()). -spec mod_opt_type(atom()) -> econf:validator().
mod_opt_type(access) -> mod_opt_type(access) ->
fun acl:access_rules_validator/1. econf:acl().
-spec mod_options(binary()) -> [{atom(), any()}]. -spec mod_options(binary()) -> [{atom(), any()}].
mod_options(_Host) -> mod_options(_Host) ->