mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
c942c31e38
This implements Real-time blocklists for XMPP (xmppbl.org). Closes #4017
21 lines
598 B
Erlang
21 lines
598 B
Erlang
%% Generated automatically
|
|
%% DO NOT EDIT: run `make options` instead
|
|
|
|
-module(mod_muc_rtbl_opt).
|
|
|
|
-export([rtbl_node/1]).
|
|
-export([rtbl_server/1]).
|
|
|
|
-spec rtbl_node(gen_mod:opts() | global | binary()) -> binary().
|
|
rtbl_node(Opts) when is_map(Opts) ->
|
|
gen_mod:get_opt(rtbl_node, Opts);
|
|
rtbl_node(Host) ->
|
|
gen_mod:get_module_opt(Host, mod_muc_rtbl, rtbl_node).
|
|
|
|
-spec rtbl_server(gen_mod:opts() | global | binary()) -> binary().
|
|
rtbl_server(Opts) when is_map(Opts) ->
|
|
gen_mod:get_opt(rtbl_server, Opts);
|
|
rtbl_server(Host) ->
|
|
gen_mod:get_module_opt(Host, mod_muc_rtbl, rtbl_server).
|
|
|