[cvslog] (2004-04-30 07:51:19 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Fri Apr 30 01:51:19 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2004-04-30 07:51:19 UTC
Commited by: Tothwolf <tothwolf at techmonkeys.org>

Modified files:
     doc/tcl-commands.doc doc/html/tcl-commands.html
     src/mod/server.mod/tclserv.c

Log message:

* Documentation fixes.
* Cosmetic fixes for tcl_clearqueue and tcl_queuesize.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/html/tcl-commands.html
diff -u eggdrop1.6/doc/html/tcl-commands.html:1.37 eggdrop1.6/doc/html/tcl-commands.html:1.38
--- eggdrop1.6/doc/html/tcl-commands.html:1.37	Mon Jan 12 19:30:26 2004
+++ eggdrop1.6/doc/html/tcl-commands.html	Fri Apr 30 02:51:08 2004
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $Id: tcl-commands.html,v 1.37 2004/01/13 01:30:26 wcc Exp $ -->
+<!-- $Id: tcl-commands.html,v 1.38 2004/04/30 07:51:08 tothwolf Exp $ -->
 
 <html>
   <head>
@@ -263,7 +263,7 @@
         <dd>
           <p><strong>Returns:</strong> a list of users on the bot. You
           can use the flag matching system here
-          ([global]{&/|}[chan]{&/|}[bot]). &#39;&&#39; specifies
+          ([global]{&amp;/|}[chan]{&amp;/|}[bot]). &#39;&amp;&#39; specifies
           &quot;and&quot;; &#39;|&#39; specifies &quot;or&quot;.</p>
 
           <p><strong>Module:</strong> core</p>
@@ -486,9 +486,9 @@
           <p><strong>Description:</strong> changes the attributes for a user
           record, if you include any. Changes are of the form &#39;+f&#39;,
           &#39;-o&#39;, &#39;+dk&#39;, &#39;-o+d&#39;, etc. If changes are
-          specified in the format of |<changes> <channel>, the channel-specific
-          flags for that channel are altered. You can now use the +o|-o
-          #channel format here too.</p>
+          specified in the format of &lt;changes&gt; &lt;channel&lt;, the
+          channel-specific flags for that channel are altered. You can now
+          use the +o|-o #channel format here too.</p>
 
           <p><strong>Returns:</strong>  new flags for the user (if you made
           no changes, the current flags are returned). If a channel was
@@ -1573,11 +1573,12 @@
           <p><strong>Module:</strong> irc</p>
         </dd>
 
-        <dt><strong>chanlist &lt;channel&gt; [flags[&chanflags]]</strong></dt>
+        <dt><strong>chanlist &lt;channel&gt;
+        [flags[&amp;chanflags]]</strong></dt>
 
         <dd>
           <p><strong>Description:</strong> flags are any global flags; the
-          &#39;&&#39; denotes to look for channel specific flags.
+          &#39;&amp;&#39; denotes to look for channel specific flags.
           Examples:</p>
 
           <blockquote>
@@ -1594,7 +1595,7 @@
 
               <tr valign="top">
                 <td>
-                  <p><strong>&n</strong></p>
+                  <p><strong>&amp;n</strong></p>
                 </td>
 
                 <td>
@@ -1604,7 +1605,7 @@
 
               <tr valign="top">
                 <td>
-                  <p><strong>o&m</strong></p>
+                  <p><strong>o&amp;m</strong></p>
                 </td>
 
                 <td>
@@ -2033,7 +2034,7 @@
           <p><strong>Module:</strong> core</p>
         </dd>
 
-        <dt><strong>dcclist ?type?</strong></dt>
+        <dt><strong>dcclist [type]</strong></dt>
 
         <dd>
           <p><strong>Returns:</strong> a list of active connections, each
@@ -2269,7 +2270,7 @@
 
         <dd>
           <p><strong>Description:</strong> removes the name associated
-          with a botnet channel, if any exists. Use &#39;killassoc &&#39;
+          with a botnet channel, if any exists. Use &#39;killassoc &amp;&#39;
           to kill all assocs.</p>
 
           <p><strong>Returns:</strong> nothing</p>
@@ -2805,7 +2806,7 @@
           <p><strong>Module:</strong> core</p>
         </dd>
 
-        <dt><strong>binds ?type/mask?</strong></dt>
+        <dt><strong>binds [type/mask]</strong></dt>
 
         <dd>
           <p><strong>Returns:</strong> a list of Tcl binds, each item in the
@@ -3474,8 +3475,6 @@
       to remove the bind for the &quot;stop&quot; msg command, use
       &#39;unbind msg - stop msg:stop&#39;.</p>
 
-      <a name="binda"></a>
-
       <ol type="A">
         <li>
           <p><a name="binda"></a><strong>Bind types</strong></p>
Index: eggdrop1.6/doc/tcl-commands.doc
diff -u eggdrop1.6/doc/tcl-commands.doc:1.108 eggdrop1.6/doc/tcl-commands.doc:1.109
--- eggdrop1.6/doc/tcl-commands.doc:1.108	Tue Apr  6 01:56:38 2004
+++ eggdrop1.6/doc/tcl-commands.doc	Fri Apr 30 02:51:08 2004
@@ -1,4 +1,4 @@
-$Id: tcl-commands.doc,v 1.108 2004/04/06 06:56:38 wcc Exp $
+$Id: tcl-commands.doc,v 1.109 2004/04/30 07:51:08 tothwolf Exp $
 
 Eggdrop Tcl Commands
 Last revised: January 12, 2004
@@ -954,7 +954,7 @@
     Returns: number of dcc connections currently in use
     Module: core
 
-  dcclist ?type?
+  dcclist [type]
     Returns: a list of active connections, each item in the list is a
       sublist containing six elements:
         {<idx> <handle> <hostname> <type> {<other>} <timestamp>}.
@@ -1269,7 +1269,7 @@
     Returns: name of the command that was removed
     Module: core
 
-  binds ?type/mask?
+  binds [type/mask]
     Returns: a list of Tcl binds, each item in the list is a sublist of
       five elements:
         {<type> <flags> <name> <hits> <proc>}
Index: eggdrop1.6/src/mod/server.mod/tclserv.c
diff -u eggdrop1.6/src/mod/server.mod/tclserv.c:1.16 eggdrop1.6/src/mod/server.mod/tclserv.c:1.17
--- eggdrop1.6/src/mod/server.mod/tclserv.c:1.16	Thu Jan  8 23:56:38 2004
+++ eggdrop1.6/src/mod/server.mod/tclserv.c	Fri Apr 30 02:51:08 2004
@@ -1,7 +1,7 @@
 /*
  * tclserv.c -- part of server.mod
  *
- * $Id: tclserv.c,v 1.16 2004/01/09 05:56:38 wcc Exp $
+ * $Id: tclserv.c,v 1.17 2004/04/30 07:51:08 tothwolf Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -214,8 +214,8 @@
     Tcl_AppendResult(irp, s, NULL);
     return TCL_OK;
   }
-  Tcl_AppendResult(irp, "bad option: must be mode, server, help, or all",
-                   NULL);
+  Tcl_AppendResult(irp, "bad option \"", argv[1],
+                   "\": must be mode, server, help, or all", NULL);
   return TCL_ERROR;
 }
 
@@ -247,7 +247,9 @@
     Tcl_AppendResult(irp, s, NULL);
     return TCL_OK;
   }
-  Tcl_AppendResult(irp, "bad option: must be mode, server, or help", NULL);
+
+  Tcl_AppendResult(irp, "bad option \"", argv[1],
+                   "\": must be mode, server, or help", NULL);
   return TCL_ERROR;
 }
 
----------------------- End of diff -----------------------



More information about the Changes mailing list