[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Fri Dec 21 23:03:01 CST 2001


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

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

Log message:

added a very small patch to get the proper channel key on op

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.268 eggdrop1.6/doc/UPDATES1.6:1.269
--- eggdrop1.6/doc/UPDATES1.6:1.268	Fri Dec 21 22:42:16 2001
+++ eggdrop1.6/doc/UPDATES1.6	Fri Dec 21 23:02:00 2001
@@ -1,10 +1,12 @@
-$Id: UPDATES1.6,v 1.268 2001/12/22 04:42:16 guppy Exp $
+$Id: UPDATES1.6,v 1.269 2001/12/22 05:02:00 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+          guppy     fixed a bug that prevented MODE from being sent when we get ops on a
+                    channel to retrieve the proper channel key
 VYOinlove guppy     don't try to open a dcc chat when people do /ctcp <bot> chat without a
                     a password set, instead send an error message
           quest/    fixed a problem on osx with files being shown as bytecount/-1
Index: eggdrop1.6/src/mod/irc.mod/chan.c
diff -u eggdrop1.6/src/mod/irc.mod/chan.c:1.75 eggdrop1.6/src/mod/irc.mod/chan.c:1.76
--- eggdrop1.6/src/mod/irc.mod/chan.c:1.75	Tue Dec 18 22:57:54 2001
+++ eggdrop1.6/src/mod/irc.mod/chan.c	Fri Dec 21 23:02:01 2001
@@ -6,7 +6,7 @@
  *   user kickban, kick, op, deop
  *   idle kicking
  *
- * $Id: chan.c,v 1.75 2001/12/19 04:57:54 guppy Exp $
+ * $Id: chan.c,v 1.76 2001/12/22 05:02:01 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -826,10 +826,10 @@
     }
     if (channel_enforcebans(chan))
       enforce_bans(chan);
-    if ((chan->status & CHAN_ASKEDMODES) &&
+    if (!(chan->status & CHAN_ASKEDMODES) &&
 	!channel_inactive(chan)) /* Spot on guppy, this just keeps the
 	                          * checking sane */
-      dprintf(DP_SERVER, "MODE %s\n", chan->name);
+      dprintf(DP_MODE, "MODE %s\n", chan->name);
     recheck_channel_modes(chan);
   }
   stacking--;
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.645 eggdrop1.6/src/patch.h:1.646
--- eggdrop1.6/src/patch.h:1.645	Fri Dec 21 22:42:16 2001
+++ eggdrop1.6/src/patch.h	Fri Dec 21 23:02:01 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.645 2001/12/22 04:42:16 guppy Exp $
+ * $Id: patch.h,v 1.646 2001/12/22 05:02:01 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008996001");		/* current unixtime */
+patch("1008997178");		/* current unixtime */
 /*
  *
  *
  */
-patch("nopass");
+patch("onopmodefix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list