[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Wed Dec 19 22:58:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-20 04:57:57 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 modules/irc/tclirc.c modules/server/tclserv.c
     src/patch.h

Log message:

applied jumpfix from eggdrop1.6 and changed rfc_casecmp to irccmp in tclirc.c

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/UPDATES1.6
diff -u eggdrop1.7/doc/UPDATES1.6:1.175 eggdrop1.7/doc/UPDATES1.6:1.176
--- eggdrop1.7/doc/UPDATES1.6:1.175	Wed Dec 19 00:31:45 2001
+++ eggdrop1.7/doc/UPDATES1.6	Wed Dec 19 22:57:46 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.175 2001/12/19 06:31:45 guppy Exp $
+$Id: UPDATES1.6,v 1.176 2001/12/20 04:57:46 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          guppy     tcl_jump could easily crash the bot
 various   guppy     tcl_pushmode now accepts any irc modes instead of the standard ones
           guppy     made tcl_chanlist (when matching chanflags), tcl_handonchan, and
                     tcl_nick2hand much faster
Index: eggdrop1.7/modules/irc/tclirc.c
diff -u eggdrop1.7/modules/irc/tclirc.c:1.5 eggdrop1.7/modules/irc/tclirc.c:1.6
--- eggdrop1.7/modules/irc/tclirc.c:1.5	Wed Dec 19 00:31:45 2001
+++ eggdrop1.7/modules/irc/tclirc.c	Wed Dec 19 22:57:47 2001
@@ -1,7 +1,7 @@
 /*
  * tclirc.c -- part of irc.mod
  *
- * $Id: tclirc.c,v 1.5 2001/12/19 06:31:45 guppy Exp $
+ * $Id: tclirc.c,v 1.6 2001/12/20 04:57:47 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -218,7 +218,7 @@
     return TCL_ERROR;
   }
   for (m = chan->channel.member; m && m->nick[0]; m = m->next) {
-    if (m->user && !rfc_casecmp(m->user->handle, argv[1])) {
+    if (m->user && !irccmp(m->user->handle, argv[1])) {
       Tcl_AppendResult(irp, "1", NULL);
       return TCL_OK;
     }
@@ -600,7 +600,7 @@
 
   while (chan && (thechan == NULL || thechan == chan)) {
     for (m = chan->channel.member; m && m->nick[0]; m = m->next) {
-      if (m->user && !rfc_casecmp(m->user->handle, argv[1])) {
+      if (m->user && !irccmp(m->user->handle, argv[1])) {
 	  Tcl_AppendResult(irp, m->nick, NULL);
 	  return TCL_OK;
 	}
Index: eggdrop1.7/modules/server/tclserv.c
diff -u eggdrop1.7/modules/server/tclserv.c:1.1 eggdrop1.7/modules/server/tclserv.c:1.2
--- eggdrop1.7/modules/server/tclserv.c:1.1	Sat Oct 27 11:34:52 2001
+++ eggdrop1.7/modules/server/tclserv.c	Wed Dec 19 22:57:47 2001
@@ -1,7 +1,7 @@
 /*
  * tclserv.c -- part of server.mod
  *
- * $Id: tclserv.c,v 1.1 2001/10/27 16:34:52 ite Exp $
+ * $Id: tclserv.c,v 1.2 2001/12/20 04:57:47 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -114,13 +114,13 @@
 {
   BADARGS(1, 4, " ?server? ?port? ?pass?");
   if (argc >= 2) {
-    strcpy(newserver, argv[1]);
+    strncpyz(newserver, argv[1], sizeof newserver);
     if (argc >= 3)
       newserverport = atoi(argv[2]);
     else
       newserverport = default_port;
     if (argc == 4)
-      strcpy(newserverpass, argv[3]);
+      strncpyz(newserverpass, argv[3], sizeof newserverpass);
   }
   cycle_time = 0;
   nuke_server("changing servers\n");
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.561 eggdrop1.7/src/patch.h:1.562
--- eggdrop1.7/src/patch.h:1.561	Wed Dec 19 00:31:46 2001
+++ eggdrop1.7/src/patch.h	Wed Dec 19 22:57:47 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.561 2001/12/19 06:31:46 guppy Exp $
+ * $Id: patch.h,v 1.562 2001/12/20 04:57:47 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,17 +41,17 @@
  *
  *
  */
-patch("1008743317");		/* current unixtime */
+patch("1008824147");		/* current unixtime */
 /*
  *
  *
  */
-patch("morespeedyness");
+patch("jumpfix");
 /*
  *
  *
  */
-patch("morespeedyness");
+patch("jumpfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list