diff options
author | Alexey Shchepin <alexey@process-one.net> | 2004-07-11 20:51:54 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2004-07-11 20:51:54 +0000 |
commit | a846fe815c099d6519818e4fb47ba2e5975c974d (patch) | |
tree | 2c5cda9d7280da2cec4bd2be1592771b82589491 /doc/guide.tex | |
parent | * src/mod_roster.erl: Removed superfluous include_lib line (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/guide.tex')
-rw-r--r-- | doc/guide.tex | 20 |
1 files changed, 16 insertions, 4 deletions
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} |