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

14 lines
339 B
Erlang

%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_shared_roster_opt).
-export([db_type/1]).
-spec db_type(gen_mod:opts() | global | binary()) -> atom().
db_type(Opts) when is_map(Opts) ->
gen_mod:get_opt(db_type, Opts);
db_type(Host) ->
gen_mod:get_module_opt(Host, mod_shared_roster, db_type).