[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Wed Apr 11 21:42:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-04-12 02:41:47 UTC
Commited by: guppy

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

Log message:

here is Krome's .-noteign patch ... yay

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.85 eggdrop1.6/doc/UPDATES1.6:1.86
--- eggdrop1.6/doc/UPDATES1.6:1.85	Wed Apr 11 21:39:42 2001
+++ eggdrop1.6/doc/UPDATES1.6	Wed Apr 11 21:41:37 2001
@@ -4,6 +4,7 @@
 
 1.6.4
 Found by  Fixed by  What...
+Brew      Krome     fixed .-noteign from crashing the bot
           Wingman/  updated all the copyright info for 2001
           guppy
           Krome     modes-per-line works now when its set to 3
Index: eggdrop1.6/src/mod/notes.mod/notes.c
diff -u eggdrop1.6/src/mod/notes.mod/notes.c:1.29 eggdrop1.6/src/mod/notes.mod/notes.c:1.30
--- eggdrop1.6/src/mod/notes.mod/notes.c:1.29	Wed Apr 11 21:39:47 2001
+++ eggdrop1.6/src/mod/notes.mod/notes.c	Wed Apr 11 21:41:37 2001
@@ -5,7 +5,7 @@
  *   note cmds
  *   note ignores
  *
- * $Id: notes.c,v 1.29 2001/04/12 02:39:47 guppy Exp $
+ * $Id: notes.c,v 1.30 2001/04/12 02:41:37 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1041,21 +1041,22 @@
     nfree(buf);
     return 0;
   }
-
   ue = find_user_entry(&USERENTRY_XTRA, u);
   /* Delete the entry if the buffer is empty */
+
+  xk = user_malloc(sizeof(struct xtra_key));
+  xk->key = user_malloc(strlen(NOTES_IGNKEY)+1);
+  xk->next = 0;
+
   if (!buf[0]) {
-    struct xtra_key xk = { 0, NOTES_IGNKEY, 0 };
     nfree(buf); /* The allocated byte needs to be free'd too */
-    xtra_set(u, ue, &xk);
+    strcpy(xk->key, NOTES_IGNKEY);
+    xk->data = 0;
   } else {
-    xk = user_malloc(sizeof(struct xtra_key));
-    xk->next = 0;
     xk->data = buf;
-    xk->key = user_malloc(strlen(NOTES_IGNKEY)+1);
     strcpy(xk->key, NOTES_IGNKEY);
-    xtra_set(u, ue, xk);
   }
+  xtra_set(u, ue, xk);
   return 1;
 }
 
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.453 eggdrop1.6/src/patch.h:1.454
--- eggdrop1.6/src/patch.h:1.453	Wed Apr 11 21:39:43 2001
+++ eggdrop1.6/src/patch.h	Wed Apr 11 21:41:37 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.453 2001/04/12 02:39:43 guppy Exp $
+ * $Id: patch.h,v 1.454 2001/04/12 02:41:37 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("987043733");		/* current unixtime */
+patch("987044283");		/* current unixtime */
 /*
  *
  *
  */
-patch("copyright2001");
+patch("mns_noteign");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list