From a846fe815c099d6519818e4fb47ba2e5975c974d Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Sun, 11 Jul 2004 20:51:54 +0000 Subject: * src/mod_last.erl: Supprot for storing status from latest unavailable presence (thanks to Sergei Golovan) * src/ejabberd_sm.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/mod_vcard.erl: Minor update (thanks to Sergei Golovan) * src/mod_register.erl: Added "access" option (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Likewise * src/ejabberd.cfg.example: Updated * src/win32/ejabberd.cfg: Likewise * src/mod_privacy.erl: Fixed module stopping (thanks to Sergei Golovan) * src/mod_private.erl: Likewise * src/gen_mod.erl: Added function get_module_opt/3 (thanks to Sergei Golovan) * src/ejabberd_local.erl: Minor fix (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) SVN Revision: 244 --- doc/guide.html | 23 +++++++++++++++++------ doc/guide.tex | 20 ++++++++++++++++---- 2 files changed, 33 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/guide.html b/doc/guide.html index 9e6c0c6fa..2db534258 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -871,7 +871,17 @@ Options: host
Defines hostname of service (see A.1.2). If not present then prefix irc. is added to main ejabberd hostname. +
access
Specifies who is allowed to use IRC transport (default value is all). +Example: +
+  {modules,
+   [
+    ...
+    {mod_irc, [{access, all}]},
+    ...
+   ]}.
+

A.6  mod_last

@@ -981,14 +991,15 @@ Example:

A.12  mod_register

-This module adds support for JEP-0077 (In-Band Registration). -It is possible to restrict registration via ``register'' -access rule. If this rule returns ``deny'' on requested user name, then -registration is not allowed for it.
+This module adds support for JEP-0077 (In-Band Registration).

Options:
-iqdisc
jabber:iq:register IQ queries processing +access
Specifies rule to restrict registration. +If this rule returns ``deny'' on requested user name, then +registration is not allowed for it. (default value is all, which means +no restrictions). +
iqdisc
jabber:iq:register IQ queries processing discipline (see A.1.1).
Example: @@ -1004,7 +1015,7 @@ Example: {modules, [ ... - {mod_register, []}, + {mod_register, [{access, register}]}, ... ]}. diff --git a/doc/guide.tex b/doc/guide.tex index 540091a8b..732aec45f 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -860,8 +860,19 @@ This module implements IRC transport. Options: \begin{description} \hostitem{irc} +\titem{access} Specifies who is allowed to use IRC transport (default value is \term{all}). \end{description} +Example: +\begin{verbatim} + {modules, + [ + ... + {mod_irc, [{access, all}]}, + ... + ]}. +\end{verbatim} + \subsection{\modlast{}} \label{sec:modlast} @@ -965,12 +976,13 @@ Example: \label{sec:modregister} This module adds support for \jepref{0077} (In-Band Registration). -It is possible to restrict registration via ``register'' -access rule. If this rule returns ``deny'' on requested user name, then -registration is not allowed for it. Options: \begin{description} +\titem{access} Specifies rule to restrict registration. +If this rule returns ``deny'' on requested user name, then +registration is not allowed for it. (default value is \term{all}, which means +no restrictions). \iqdiscitem{\ns{jabber:iq:register}} \end{description} @@ -987,7 +999,7 @@ Example: {modules, [ ... - {mod_register, []}, + {mod_register, [{access, register}]}, ... ]}. \end{verbatim} -- cgit v1.2.3