diff options
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 9e6c0c6f..2db53425 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 540091a8..732aec45 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} |