aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65_opt.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_proxy65_opt.erl')
-rw-r--r--src/mod_proxy65_opt.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mod_proxy65_opt.erl b/src/mod_proxy65_opt.erl
index d65e74d16..95f039b16 100644
--- a/src/mod_proxy65_opt.erl
+++ b/src/mod_proxy65_opt.erl
@@ -17,6 +17,7 @@
-export([server_host/1]).
-export([shaper/1]).
-export([sndbuf/1]).
+-export([vcard/1]).
-spec access(gen_mod:opts() | global | binary()) -> 'all' | acl:acl().
access(Opts) when is_map(Opts) ->
@@ -102,3 +103,9 @@ sndbuf(Opts) when is_map(Opts) ->
sndbuf(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, sndbuf).
+-spec vcard(gen_mod:opts() | global | binary()) -> 'undefined' | tuple().
+vcard(Opts) when is_map(Opts) ->
+ gen_mod:get_opt(vcard, Opts);
+vcard(Host) ->
+ gen_mod:get_module_opt(Host, mod_proxy65, vcard).
+