25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00
xmpp.chapril.org-ejabberd/src/mod_muc_rtbl_opt.erl
Paweł Chmielowski c942c31e38 Add mod_muc_rtbl
This implements Real-time blocklists for XMPP (xmppbl.org).

Closes #4017
2023-04-17 16:59:42 +02:00

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).