[cvslog] (2002-09-21 20:41:06 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sat Sep 21 15:42:01 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2002-09-21 20:41:06 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

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

Log message:

Don't "want ops" in modeless (+) channels. Patch by BarkerJr.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.407 eggdrop1.6/doc/UPDATES1.6:1.408
--- eggdrop1.6/doc/UPDATES1.6:1.407	Sun Sep 15 14:26:35 2002
+++ eggdrop1.6/doc/UPDATES1.6	Sat Sep 21 15:40:56 2002
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.407 2002/09/15 19:26:35 wcc Exp $
+$Id: UPDATES1.6,v 1.408 2002/09/21 20:40:56 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.13
 Found by  Fixed by  What...
+          BarkerJr  don't "want ops" in modeless (+) channels
 guppy     Wcc       tell the user to set 'my-ip' when hostname self-lookup fails
 ridens    Wcc       improved access checking in -host/+host
 Jerome    Wcc       fixed a possible buffer overflow in raw_dcc_resend_send()
Index: eggdrop1.6/src/mod/irc.mod/irc.c
diff -u eggdrop1.6/src/mod/irc.mod/irc.c:1.76 eggdrop1.6/src/mod/irc.mod/irc.c:1.77
--- eggdrop1.6/src/mod/irc.mod/irc.c:1.76	Fri Aug  2 18:50:39 2002
+++ eggdrop1.6/src/mod/irc.mod/irc.c	Sat Sep 21 15:40:56 2002
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot
  *
- * $Id: irc.c,v 1.76 2002/08/02 23:50:39 wcc Exp $
+ * $Id: irc.c,v 1.77 2002/09/21 20:40:56 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -961,7 +961,7 @@
 	  p = MISC_TRYING;
 	else if (chan->status & CHAN_PEND)
 	  p = MISC_PENDING;
-	else if (!me_op(chan))
+	else if ((chan->dname[0] != '+') && !me_op(chan))
 	  p = MISC_WANTOPS;
       }
       l = simple_sprintf(ch, "%s%s%s%s, ", chan->dname, p ? "(" : "",
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.821 eggdrop1.6/src/patch.h:1.822
--- eggdrop1.6/src/patch.h:1.821	Sun Sep 15 14:26:35 2002
+++ eggdrop1.6/src/patch.h	Sat Sep 21 15:40:56 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.821 2002/09/15 19:26:35 wcc Exp $
+ * $Id: patch.h,v 1.822 2002/09/21 20:40:56 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1032117380");		/* current unixtime */
+patch("1032640636");		/* current unixtime */
 /*
  *
  *
  */
-patch("lookuperror");
+patch("modeless-wantops");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list