diff options
author | Badlop <badlop@process-one.net> | 2008-11-12 00:21:47 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2008-11-12 00:21:47 +0000 |
commit | add568169ea3f74376fbbb954b56289adfefdf84 (patch) | |
tree | 9e4d79d80e67e26e10bde9e27bcfbf9a577e51c4 /doc | |
parent | SVN Revision: 1676 (diff) |
* doc/guide.tex: Improve legibility of mod_irc example config
SVN Revision: 1677
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 15 | ||||
-rw-r--r-- | doc/guide.tex | 15 |
2 files changed, 14 insertions, 16 deletions
diff --git a/doc/guide.html b/doc/guide.html index c28115c2..c15a76df 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -1928,19 +1928,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>. -Moreover, the transport is only accessible by paying customers registered on -our domains and on other servers. -<PRE CLASS="verbatim">{acl, paying_customers, {user, "customer1", "example.net"}}. -{acl, paying_customers, {user, "customer2", "example.com"}}. -{acl, paying_customers, {user, "customer3", "example.org"}}. +Moreover, the transport is only accessible to two users +of <TT>example.org</TT>, and any user of <TT>example.com</TT>: +<PRE CLASS="verbatim">{acl, paying_customers, {user, "customer1", "example.org"}}. +{acl, paying_customers, {user, "customer2", "example.org"}}. +{acl, paying_customers, {server, "example.com"}}. -{access, paying_customers, [{allow, paying_customers}, - {deny, all}]}. +{access, irc_users, [{allow, paying_customers}, {deny, all}]}. {modules, [ ... - {mod_irc, [{access, paying_customers}, + {mod_irc, [{access, irc_users}, {host, "irc.example.net"}]}, ... ]}. diff --git a/doc/guide.tex b/doc/guide.tex index 14cc4c62..6702880f 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -2543,20 +2543,19 @@ Examples: ]}. \end{verbatim} \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 - our domains and on other servers. + Moreover, the transport is only accessible to two users + of \term{example.org}, and any user of \term{example.com}: \begin{verbatim} -{acl, paying_customers, {user, "customer1", "example.net"}}. -{acl, paying_customers, {user, "customer2", "example.com"}}. -{acl, paying_customers, {user, "customer3", "example.org"}}. +{acl, paying_customers, {user, "customer1", "example.org"}}. +{acl, paying_customers, {user, "customer2", "example.org"}}. +{acl, paying_customers, {server, "example.com"}}. -{access, paying_customers, [{allow, paying_customers}, - {deny, all}]}. +{access, irc_users, [{allow, paying_customers}, {deny, all}]}. {modules, [ ... - {mod_irc, [{access, paying_customers}, + {mod_irc, [{access, irc_users}, {host, "irc.example.net"}]}, ... ]}. |