25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00
xmpp.chapril.org-ejabberd/src/mod_s2s_dialback_opt.erl
2019-06-14 12:33:26 +03:00

14 lines
342 B
Erlang

%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_s2s_dialback_opt).
-export([access/1]).
-spec access(gen_mod:opts() | global | binary()) -> 'all' | acl:acl().
access(Opts) when is_map(Opts) ->
gen_mod:get_opt(access, Opts);
access(Host) ->
gen_mod:get_module_opt(Host, mod_s2s_dialback, access).