From 3a8da27d86058dae9e60467a08b146f9fc676736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Tue, 21 Jun 2016 13:18:24 +0200 Subject: Use {access,shaper}_rules_validator in other places where access rules are used --- src/mod_muc_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mod_muc_log.erl') diff --git a/src/mod_muc_log.erl b/src/mod_muc_log.erl index 1f32f6f9b..167a96e37 100644 --- a/src/mod_muc_log.erl +++ b/src/mod_muc_log.erl @@ -141,7 +141,7 @@ init([Host, Opts]) -> fun iolist_to_binary/1, false), AccessLog = gen_mod:get_opt(access_log, Opts, - fun(A) when is_atom(A) -> A end, + fun acl:access_rules_validator/1, muc_admin), Timezone = gen_mod:get_opt(timezone, Opts, fun(local) -> local; -- cgit v1.2.3