Use new validator in mod_deny_omemo
This commit is contained in:
parent
0db6868aa6
commit
9404980f0d
|
@ -64,9 +64,9 @@ stop(Host) ->
|
|||
reload(_Host, _NewOpts, _OldOpts) ->
|
||||
ok.
|
||||
|
||||
-spec mod_opt_type(atom()) -> fun((term()) -> term()).
|
||||
-spec mod_opt_type(atom()) -> econf:validator().
|
||||
mod_opt_type(access) ->
|
||||
fun acl:access_rules_validator/1.
|
||||
econf:acl().
|
||||
|
||||
-spec mod_options(binary()) -> [{atom(), any()}].
|
||||
mod_options(_Host) ->
|
||||
|
|
Loading…
Reference in New Issue