[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sat Dec 29 15:14:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-29 21:13:36 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

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

Log message:

added both onopmodefix 1 and 2 from 1.6

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/UPDATES1.6
diff -u eggdrop1.7/doc/UPDATES1.6:1.184 eggdrop1.7/doc/UPDATES1.6:1.185
--- eggdrop1.7/doc/UPDATES1.6:1.184	Sat Dec 29 15:08:47 2001
+++ eggdrop1.7/doc/UPDATES1.6	Sat Dec 29 15:13:25 2001
@@ -1,10 +1,12 @@
-$Id: UPDATES1.6,v 1.184 2001/12/29 21:08:47 guppy Exp $
+$Id: UPDATES1.6,v 1.185 2001/12/29 21:13:25 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.7/modules/irc/chan.c
diff -u eggdrop1.7/modules/irc/chan.c:1.7 eggdrop1.7/modules/irc/chan.c:1.8
--- eggdrop1.7/modules/irc/chan.c:1.7	Wed Dec 19 00:28:03 2001
+++ eggdrop1.7/modules/irc/chan.c	Sat Dec 29 15:13:26 2001
@@ -6,7 +6,7 @@
  *   user kickban, kick, op, deop
  *   idle kicking
  *
- * $Id: chan.c,v 1.7 2001/12/19 06:28:03 guppy Exp $
+ * $Id: chan.c,v 1.8 2001/12/29 21:13:26 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -894,7 +894,13 @@
 	  *p = 0;
 	}
       }
-      if ((chan->channel.mode & CHANKEY) && !(chan->channel.key[0]))
+      if ((chan->channel.mode & CHANKEY) && (!chan->channel.key[0] ||
+	  !strcmp("*", chan->channel.key)))
+	/* Undernet use to show a blank channel key if one was set when
+	 * you first joined a channel; however, this has been replaced by
+	 * an asterisk and this has been agreed upon by other major IRC 
+	 * networks so we'll check for an asterisk here as well 
+	 * (guppy 22Dec2001) */ 
         chan->status |= CHAN_ASKEDMODES;
     }
     if (msg[i] == 'l') {
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.569 eggdrop1.7/src/patch.h:1.570
--- eggdrop1.7/src/patch.h:1.569	Sat Dec 29 15:08:48 2001
+++ eggdrop1.7/src/patch.h	Sat Dec 29 15:13:26 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.569 2001/12/29 21:08:48 guppy Exp $
+ * $Id: patch.h,v 1.570 2001/12/29 21:13:26 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,17 +41,17 @@
  *
  *
  */
-patch("1009659887");		/* current unixtime */
+patch("1009660165");		/* current unixtime */
 /*
  *
  *
  */
-patch("nopass");
+patch("onopmodefix1and2");
 /*
  *
  *
  */
-patch("nopass");
+patch("onopmodefix1and2");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list