[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Thu Dec 20 15:06:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-20 21:05:24 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/mod/irc.mod/tclirc.c

Log message:

oops, thanks BarkerJr for that little fix

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.263 eggdrop1.6/doc/UPDATES1.6:1.264
--- eggdrop1.6/doc/UPDATES1.6:1.263	Thu Dec 20 12:52:10 2001
+++ eggdrop1.6/doc/UPDATES1.6	Thu Dec 20 15:05:13 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.263 2001/12/20 18:52:10 guppy Exp $
+$Id: UPDATES1.6,v 1.264 2001/12/20 21:05:13 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          BarkerJr  fixed a small bug in guppy's last patch
 various   guppy     tcl_botisvoice, tcl_botisop, tcl_botonchan, tcl_onchansplit, tcl_isop,
                     tcl_isvoice, and tcl_handonchan all take channel as an optional argument
                     now
Index: eggdrop1.6/src/mod/irc.mod/tclirc.c
diff -u eggdrop1.6/src/mod/irc.mod/tclirc.c:1.28 eggdrop1.6/src/mod/irc.mod/tclirc.c:1.29
--- eggdrop1.6/src/mod/irc.mod/tclirc.c:1.28	Thu Dec 20 12:52:11 2001
+++ eggdrop1.6/src/mod/irc.mod/tclirc.c	Thu Dec 20 15:05:13 2001
@@ -1,7 +1,7 @@
 /*
  * tclirc.c -- part of irc.mod
  *
- * $Id: tclirc.c,v 1.28 2001/12/20 18:52:11 guppy Exp $
+ * $Id: tclirc.c,v 1.29 2001/12/20 21:05:13 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -71,10 +71,10 @@
 
   BADARGS(1, 2, " ?channel?");
   if (argc > 2) {
-    chan = findchan_by_dname(argv[2]);
+    chan = findchan_by_dname(argv[1]);
     thechan = chan;
     if (!thechan) {
-      Tcl_AppendResult(irp, "illegal channel: ", argv[2], NULL);
+      Tcl_AppendResult(irp, "illegal channel: ", argv[1], NULL);
       return TCL_ERROR;
     }
   } else
@@ -115,10 +115,10 @@
 
   BADARGS(1, 2, " ?channel?");
   if (argc > 2) {
-    chan = findchan_by_dname(argv[2]);
+    chan = findchan_by_dname(argv[1]);
     thechan = chan;
     if (!thechan) {
-      Tcl_AppendResult(irp, "illegal channel: ", argv[2], NULL);
+      Tcl_AppendResult(irp, "illegal channel: ", argv[1], NULL);
       return TCL_ERROR;
     }
   } else
@@ -141,10 +141,10 @@
 
   BADARGS(1, 2, " ?channel?");
   if (argc > 2) {
-    chan = findchan_by_dname(argv[2]);
+    chan = findchan_by_dname(argv[1]);
     thechan = chan;
     if (!thechan) {
-      Tcl_AppendResult(irp, "illegal channel: ", argv[2], NULL);
+      Tcl_AppendResult(irp, "illegal channel: ", argv[1], NULL);
       return TCL_ERROR;
     }
   } else
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.640 eggdrop1.6/src/patch.h:1.641
--- eggdrop1.6/src/patch.h:1.640	Thu Dec 20 12:52:11 2001
+++ eggdrop1.6/src/patch.h	Thu Dec 20 15:05:13 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.640 2001/12/20 18:52:11 guppy Exp $
+ * $Id: patch.h,v 1.641 2001/12/20 21:05:13 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008874067");		/* current unixtime */
+patch("1008882167");		/* current unixtime */
 /*
  *
  *
  */
-patch("optionalchannelarg");
+patch("optionalchannelarg2");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list