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_vcard_mnesia_opt.erl

14 lines
394 B
Erlang
Raw Normal View History

2019-06-14 11:33:26 +02:00
%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_vcard_mnesia_opt).
-export([search_all_hosts/1]).
-spec search_all_hosts(gen_mod:opts() | global | binary()) -> boolean().
search_all_hosts(Opts) when is_map(Opts) ->
gen_mod:get_opt(search_all_hosts, Opts);
search_all_hosts(Host) ->
gen_mod:get_module_opt(Host, mod_vcard_mnesia, search_all_hosts).