[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Fri Dec 28 23:50:03 CST 2001


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

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

Log message:

added Ian's capture_the_flag diff because after some more explaining and digging this is the proper fix to our problem of loosing channel flags

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.277 eggdrop1.6/doc/UPDATES1.6:1.278
--- eggdrop1.6/doc/UPDATES1.6:1.277	Fri Dec 28 23:48:33 2001
+++ eggdrop1.6/doc/UPDATES1.6	Fri Dec 28 23:49:47 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.277 2001/12/29 05:48:33 guppy Exp $
+$Id: UPDATES1.6,v 1.278 2001/12/29 05:49:47 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+various   zip       prevent the bot from loosing channel flags when allow-resync is set
           Wcc       some small cosmetic changes
           Wcc       added $hand-len for scripters to get the current length of handles from
                     src/eggdrop.h (this setting does not adjust handle lengths however)
Index: eggdrop1.6/src/mod/share.mod/share.c
diff -u eggdrop1.6/src/mod/share.mod/share.c:1.60 eggdrop1.6/src/mod/share.mod/share.c:1.61
--- eggdrop1.6/src/mod/share.mod/share.c:1.60	Fri Dec 28 23:48:34 2001
+++ eggdrop1.6/src/mod/share.mod/share.c	Fri Dec 28 23:49:47 2001
@@ -1,7 +1,7 @@
 /*
  * share.c -- part of share.mod
  *
- * $Id: share.c,v 1.60 2001/12/29 05:48:34 guppy Exp $
+ * $Id: share.c,v 1.61 2001/12/29 05:49:47 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1824,6 +1824,7 @@
 
 	u->flags = (u2->flags & pgbm) | (u->flags & ~pgbm);
       }
+      noshare = 1;
       for (cr = u2->chanrec; cr; cr = cr_next) {
 	struct chanset_t *chan = findchan_by_dname(cr->channel);
 
@@ -1857,6 +1858,7 @@
 	  }
 	}
       }
+      noshare = 0;
       /* Any unshared user entries need copying over */
       for (ue = u2->entries; ue; ue = ue->next)
 	if (ue->type && !ue->type->got_share && ue->type->dup_user)
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.654 eggdrop1.6/src/patch.h:1.655
--- eggdrop1.6/src/patch.h:1.654	Fri Dec 28 23:48:34 2001
+++ eggdrop1.6/src/patch.h	Fri Dec 28 23:49:47 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.654 2001/12/29 05:48:34 guppy Exp $
+ * $Id: patch.h,v 1.655 2001/12/29 05:49:47 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1009604550");		/* current unixtime */
+patch("1009604741");		/* current unixtime */
 /*
  *
  *
  */
-patch("mod_cosmetic");
+patch("capture_the_flag");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list