From 97d796cb00e8f29815da9fc374f51058d04f9787 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 6 Jul 2021 21:37:16 +0200 Subject: [PATCH] mod_stats2file also misses mod_doc/0 --- mod_statsdx/src/mod_stats2file.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod_statsdx/src/mod_stats2file.erl b/mod_statsdx/src/mod_stats2file.erl index 2b462d0..a411ec2 100644 --- a/mod_statsdx/src/mod_stats2file.erl +++ b/mod_statsdx/src/mod_stats2file.erl @@ -12,7 +12,7 @@ -behaviour(gen_mod). --export([start/2, stop/1, depends/2, mod_opt_type/1, mod_options/1]). +-export([start/2, stop/1, depends/2, mod_opt_type/1, mod_options/1, mod_doc/0]). -export([loop/5]). -include_lib("xmpp/include/xmpp.hrl"). @@ -82,6 +82,8 @@ mod_options(_Host) -> {basefilename, "/tmp/ejasta"}, {hosts, ejabberd_config:get_option(hosts)}]. +mod_doc() -> #{}. + %% ------------------- %% write_stat* %% -------------------