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_delegation_opt.erl
2019-06-14 12:33:26 +03:00

14 lines
378 B
Erlang

%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_delegation_opt).
-export([namespaces/1]).
-spec namespaces(gen_mod:opts() | global | binary()) -> [{binary(),[binary()],acl:acl()}].
namespaces(Opts) when is_map(Opts) ->
gen_mod:get_opt(namespaces, Opts);
namespaces(Host) ->
gen_mod:get_module_opt(Host, mod_delegation, namespaces).