From 9404980f0ddf76a477a2fdbb7e9fbf25a32ea9f6 Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Fri, 21 Jun 2019 21:46:24 +0300 Subject: [PATCH] Use new validator in mod_deny_omemo --- mod_deny_omemo/src/mod_deny_omemo.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_deny_omemo/src/mod_deny_omemo.erl b/mod_deny_omemo/src/mod_deny_omemo.erl index 5926b97..db41621 100644 --- a/mod_deny_omemo/src/mod_deny_omemo.erl +++ b/mod_deny_omemo/src/mod_deny_omemo.erl @@ -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) ->