]> granicus.if.org Git - ejabberd/commitdiff
* doc/guide.tex: Improve legibility of mod_irc example config
authorBadlop <badlop@process-one.net>
Wed, 12 Nov 2008 00:21:47 +0000 (00:21 +0000)
committerBadlop <badlop@process-one.net>
Wed, 12 Nov 2008 00:21:47 +0000 (00:21 +0000)
SVN Revision: 1677

ChangeLog
doc/guide.html
doc/guide.tex

index 963d76e7614f3c829c77865927d5b2e6c14f4925..e2e3bfbc238455a0a428ad79d352f864ab658a30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-12  Badlop  <badlop@process-one.net>
+
+       * doc/guide.tex: Improve legibility of mod_irc example config
+
 2008-11-10  Alexey Shchepin  <alexey@process-one.net>
 
        * src/tls/tls_drv.c: Don't create a SSL context on every
index c28115c21cf117bfe6b6f9d1fb99c9479972ca8a..c15a76df77d5225bfb2b8f2a12e4cbcd58cb6ec3 100644 (file)
@@ -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"}]},
   ...
  ]}.
index 14cc4c6271cf42ec11422389693298068e8969e8..6702880f327162fd8654e54d60ac54cd9e3278cb 100644 (file)
@@ -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"}]},
   ...
  ]}.