aboutsummaryrefslogtreecommitdiff
path: root/src/mod_configure.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_configure.erl')
-rw-r--r--src/mod_configure.erl11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mod_configure.erl b/src/mod_configure.erl
index 1a327064e..255c7f66d 100644
--- a/src/mod_configure.erl
+++ b/src/mod_configure.erl
@@ -5,7 +5,7 @@
%%% Created : 19 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
-%%% ejabberd, Copyright (C) 2002-2019 ProcessOne
+%%% ejabberd, Copyright (C) 2002-2020 ProcessOne
%%%
%%% This program is free software; you can redistribute it and/or
%%% modify it under the terms of the GNU General Public License as
@@ -36,7 +36,7 @@
adhoc_local_items/4, adhoc_local_commands/4,
get_sm_identity/5, get_sm_features/5, get_sm_items/5,
adhoc_sm_items/4, adhoc_sm_commands/4, mod_options/1,
- depends/2]).
+ depends/2, mod_doc/0]).
-include("logger.hrl").
-include("xmpp.hrl").
@@ -1558,3 +1558,10 @@ tr(Lang, Text) ->
translate:translate(Lang, Text).
mod_options(_) -> [].
+
+mod_doc() ->
+ #{desc =>
+ ?T("The module provides server configuration functionality via "
+ "https://xmpp.org/extensions/xep-0050.html"
+ "[XEP-0050: Ad-Hoc Commands]. This module requires "
+ "'mod_adhoc' to be loaded.")}.