Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-04-21 20:45:17 +0300
committerBadlop <badlop@process-one.net>2020-04-21 21:11:39 +0300
commit3db9de26e996541c0e03a4ca7d7e0d59f9a3d4f3 (patch)
tree300469b9eed1a6e6299627e4987d71473ab6baf1 /src/mod_admin_extra.erl
parent78f0439e78d8b88c0e1237ac94e8f6a0bc6b9dc5 (diff)
Rephrase mod_admin_extra doc, a2x screwed the format when building Docs
Diffstat (limited to 'src/mod_admin_extra.erl')
-rw-r--r--src/mod_admin_extra.erl20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index 1dfe42c11..69d240e4a 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -1604,13 +1604,7 @@ mod_doc() ->
"generated one, so they can't login anymore unless a server "
"administrator changes their password again. It is possible to "
"define the reason of the ban. The new password also includes "
- "the reason and the date and time of the ban. For example, if "
- "this command is called: "
- "'ejabberdctl vhost example.org ban-account boby \"Spammed rooms\"', "
- "then the sessions of the local account which JID is "
- "boby@example.org will be kicked, and its password will be set "
- "to something like this: "
- "'BANNED_ACCOUNT--20080425T21:45:07--2176635--Spammed_rooms'"),
+ "the reason and the date and time of the ban. See an example below."),
?T("- 'pushroster' (and 'pushroster-all'):"),
?T("The roster file must be placed, if using Windows, on the "
"directory where you installed ejabberd: "
@@ -1620,8 +1614,7 @@ mod_doc() ->
?T("- 'srg-create':"),
?T("If you want to put a group Name with blankspaces, use the "
"characters \"\' and \'\" to define when the Name starts and "
- "ends. For example: "
- "'ejabberdctl srg-create g1 example.org \"\'Group number 1\'\" this_is_g1 g1'")],
+ "ends. See an example below.")],
opts =>
[{module_resource,
#{value => ?T("Resource"),
@@ -1647,4 +1640,11 @@ mod_doc() ->
{?T("Content of roster file for 'pushroster' command:"),
["[{<<\"bob\">>, <<\"example.org\">>, <<\"workers\">>, <<\"Bob\">>},",
"{<<\"mart\">>, <<\"example.org\">>, <<\"workers\">>, <<\"Mart\">>},",
- "{<<\"Rich\">>, <<\"example.org\">>, <<\"bosses\">>, <<\"Rich\">>}]."]}]}.
+ "{<<\"Rich\">>, <<\"example.org\">>, <<\"bosses\">>, <<\"Rich\">>}]."]},
+ {?T("With this call, the sessions of the local account which JID is "
+ "boby@example.org will be kicked, and its password will be set "
+ "to something like "
+ "'BANNED_ACCOUNT--20080425T21:45:07--2176635--Spammed_rooms'"),
+ ["ejabberdctl vhost example.org ban-account boby \"Spammed rooms\""]},
+ {?T("Call to srg-create using double-quotes and single-quotes:"),
+ ["ejabberdctl srg-create g1 example.org \"\'Group number 1\'\" this_is_g1 g1"]}]}.