diff options
author | Alexey Shchepin <alexey@process-one.net> | 2004-07-12 00:51:54 +0400 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2004-07-12 00:51:54 +0400 |
commit | a846fe815c099d6519818e4fb47ba2e5975c974d (patch) | |
tree | 2c5cda9d7280da2cec4bd2be1592771b82589491 /doc | |
parent | b64cc8f662b7ab87a002d68735236c36aeb807ee (diff) |
* 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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 23 | ||||
-rw-r--r-- | doc/guide.tex | 20 |
2 files changed, 33 insertions, 10 deletions
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: <B><TT>host</TT></B><DD> Defines hostname of service (see <A HREF="#sec:modhostoption">A.1.2</A>). If not present then prefix <TT>irc.</TT> is added to main <TT>ejabberd</TT> hostname. +<DT><B><TT>access</TT></B><DD> Specifies who is allowed to use IRC transport (default value is <TT>all</TT>). </DL> +Example: +<PRE> + {modules, + [ + ... + {mod_irc, [{access, all}]}, + ... + ]}. +</PRE> <!--TOC subsection <TT>mod_last</TT>--> <H3><A NAME="htoc36">A.6</A> <TT>mod_last</TT></H3><!--SEC END --> @@ -981,14 +991,15 @@ Example: <H3><A NAME="htoc42">A.12</A> <TT>mod_register</TT></H3><!--SEC END --> <A NAME="sec:modregister"></A> -This module adds support for <A HREF="http://www.jabber.org/jeps/jep-0077.html">JEP-0077</A> (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.<BR> +This module adds support for <A HREF="http://www.jabber.org/jeps/jep-0077.html">JEP-0077</A> (In-Band Registration).<BR> <BR> Options: <DL COMPACT=compact><DT> -<B><TT>iqdisc</TT></B><DD> <TT>jabber:iq:register</TT> IQ queries processing +<B><TT>access</TT></B><DD> Specifies rule to restrict registration. +If this rule returns ``deny'' on requested user name, then +registration is not allowed for it. (default value is <TT>all</TT>, which means +no restrictions). +<DT><B><TT>iqdisc</TT></B><DD> <TT>jabber:iq:register</TT> IQ queries processing discipline (see <A HREF="#sec:modiqdiscoption">A.1.1</A>). </DL> Example: @@ -1004,7 +1015,7 @@ Example: {modules, [ ... - {mod_register, []}, + {mod_register, [{access, register}]}, ... ]}. </PRE> 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} |