mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-19 15:32:08 +02:00
* doc/guide.tex: Improve legibility of mod_irc example config
SVN Revision: 1677
This commit is contained in:
parent
3dd58372fe
commit
ba258b0a3e
@ -1,3 +1,7 @@
|
|||||||
|
2008-11-12 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* doc/guide.tex: Improve legibility of mod_irc example config
|
||||||
|
|
||||||
2008-11-08 Mickael Remond <mremond@process-one.net>
|
2008-11-08 Mickael Remond <mremond@process-one.net>
|
||||||
|
|
||||||
* src/ejabberd_s2s_out.erl: exports the DNS resolution
|
* src/ejabberd_s2s_out.erl: exports the DNS resolution
|
||||||
|
@ -1822,19 +1822,18 @@ able to use the transport. The default encoding is set to "iso8859-15".
|
|||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
</PRE></LI><LI CLASS="li-itemize">In next example the IRC transport is available with JIDs with prefix <TT>irc-t.net</TT>.
|
</PRE></LI><LI CLASS="li-itemize">In next example the IRC transport is available with JIDs with prefix <TT>irc-t.net</TT>.
|
||||||
Moreover, the transport is only accessible by paying customers registered on
|
Moreover, the transport is only accessible to two users
|
||||||
our domains and on other servers.
|
of <TT>example.org</TT>, and any user of <TT>example.com</TT>:
|
||||||
<PRE CLASS="verbatim">{acl, paying_customers, {user, "customer1", "example.net"}}.
|
<PRE CLASS="verbatim">{acl, paying_customers, {user, "customer1", "example.org"}}.
|
||||||
{acl, paying_customers, {user, "customer2", "example.com"}}.
|
{acl, paying_customers, {user, "customer2", "example.org"}}.
|
||||||
{acl, paying_customers, {user, "customer3", "example.org"}}.
|
{acl, paying_customers, {server, "example.com"}}.
|
||||||
|
|
||||||
{access, paying_customers, [{allow, paying_customers},
|
{access, irc_users, [{allow, paying_customers}, {deny, all}]}.
|
||||||
{deny, all}]}.
|
|
||||||
|
|
||||||
{modules,
|
{modules,
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
{mod_irc, [{access, paying_customers},
|
{mod_irc, [{access, irc_users},
|
||||||
{host, "irc.example.net"}]},
|
{host, "irc.example.net"}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
|
@ -2370,20 +2370,19 @@ Examples:
|
|||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\item In next example the IRC transport is available with JIDs with prefix \jid{irc-t.net}.
|
\item In next example the IRC transport is available with JIDs with prefix \jid{irc-t.net}.
|
||||||
Moreover, the transport is only accessible by paying customers registered on
|
Moreover, the transport is only accessible to two users
|
||||||
our domains and on other servers.
|
of \term{example.org}, and any user of \term{example.com}:
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
{acl, paying_customers, {user, "customer1", "example.net"}}.
|
{acl, paying_customers, {user, "customer1", "example.org"}}.
|
||||||
{acl, paying_customers, {user, "customer2", "example.com"}}.
|
{acl, paying_customers, {user, "customer2", "example.org"}}.
|
||||||
{acl, paying_customers, {user, "customer3", "example.org"}}.
|
{acl, paying_customers, {server, "example.com"}}.
|
||||||
|
|
||||||
{access, paying_customers, [{allow, paying_customers},
|
{access, irc_users, [{allow, paying_customers}, {deny, all}]}.
|
||||||
{deny, all}]}.
|
|
||||||
|
|
||||||
{modules,
|
{modules,
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
{mod_irc, [{access, paying_customers},
|
{mod_irc, [{access, irc_users},
|
||||||
{host, "irc.example.net"}]},
|
{host, "irc.example.net"}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
|
Loading…
Reference in New Issue
Block a user