[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sat Dec 22 00:45:03 CST 2001


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

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

Log message:

I'll properly fix it this time okay <g>

---------------------- diff included ----------------------
Index: eggdrop1.6/src/mod/irc.mod/chan.c
diff -u eggdrop1.6/src/mod/irc.mod/chan.c:1.76 eggdrop1.6/src/mod/irc.mod/chan.c:1.77
--- eggdrop1.6/src/mod/irc.mod/chan.c:1.76	Fri Dec 21 23:02:01 2001
+++ eggdrop1.6/src/mod/irc.mod/chan.c	Sat Dec 22 00:43:57 2001
@@ -6,7 +6,7 @@
  *   user kickban, kick, op, deop
  *   idle kicking
  *
- * $Id: chan.c,v 1.76 2001/12/22 05:02:01 guppy Exp $
+ * $Id: chan.c,v 1.77 2001/12/22 06:43:57 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -826,9 +826,8 @@
     }
     if (channel_enforcebans(chan))
       enforce_bans(chan);
-    if (!(chan->status & CHAN_ASKEDMODES) &&
-	!channel_inactive(chan)) /* Spot on guppy, this just keeps the
-	                          * checking sane */
+    if ((chan->status & CHAN_ASKEDMODES) &&
+	!channel_inactive(chan)) 
       dprintf(DP_MODE, "MODE %s\n", chan->name);
     recheck_channel_modes(chan);
   }
@@ -894,7 +893,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.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.646 eggdrop1.6/src/patch.h:1.647
--- eggdrop1.6/src/patch.h:1.646	Fri Dec 21 23:02:01 2001
+++ eggdrop1.6/src/patch.h	Sat Dec 22 00:43:57 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.646 2001/12/22 05:02:01 guppy Exp $
+ * $Id: patch.h,v 1.647 2001/12/22 06:43:57 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008997178");		/* current unixtime */
+patch("1009003297");		/* current unixtime */
 /*
  *
  *
  */
-patch("onopmodefix");
+patch("onopmodefix2");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list