[cvslog] [CVS] Module eggdrop1.6: Change committed

cvs at eggheads.org cvs at eggheads.org
Thu Oct 1 09:02:24 CST 2009


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2009-10-01 15:02:24 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

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

Log message:

Made eggdrop request ban/invite exception lists when (half)opped, if getting them on join fails.
Fixes Bugzilla Bug # 465 "channel exempts not loaded properly on EFNET"

Patch by: pseudo

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.31 eggdrop1.6/doc/Changes1.6:1.32
--- eggdrop1.6/doc/Changes1.6:1.31	Thu Oct  1 08:56:30 2009
+++ eggdrop1.6/doc/Changes1.6	Thu Oct  1 09:02:14 2009
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.31 2009/10/01 14:56:30 pseudo Exp $
+$Id: Changes1.6,v 1.32 2009/10/01 15:02:14 pseudo Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,11 @@
 
 1.6.20 (CVS):
 
+  - Made eggdrop request ban/invite exception lists when (half)opped,
+    if getting them on join fails.
+    Fixes Bugzilla Bug # 465 "channel exempts not loaded properly on EFNET"
+    Patch by: pseudo
+
   - Replaced a mistaken typecast with the proper one and eliminates the last
     remaining compile warning.
     Fixes Bugzilla Bug # 450 "some warning during compile"
Index: eggdrop1.6/src/mod/irc.mod/chan.c
diff -u eggdrop1.6/src/mod/irc.mod/chan.c:1.129 eggdrop1.6/src/mod/irc.mod/chan.c:1.130
--- eggdrop1.6/src/mod/irc.mod/chan.c:1.129	Thu May  7 16:01:41 2009
+++ eggdrop1.6/src/mod/irc.mod/chan.c	Thu Oct  1 09:02:14 2009
@@ -6,7 +6,7 @@
  *   user kickban, kick, op, deop
  *   idle kicking
  *
- * $Id: chan.c,v 1.129 2009/05/07 22:01:41 tothwolf Exp $
+ * $Id: chan.c,v 1.130 2009/10/01 15:02:14 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -873,6 +873,13 @@
     m->flags &= ~(SENTHALFOP | SENTKICK);
     check_this_member(chan, m->nick, &fr);
   }
+  /* Most IRCDs nowadays require +h/+o for getting e/I lists,
+   * so if we're still waiting for these, we'll request them here.
+   * In case we got them on join, nothing will be done */
+  if ((chan->ircnet_status & CHAN_ASKED_EXEMPTS) && use_exempts == 1)
+    dprintf(DP_MODE, "MODE %s +e\n", chan->name);
+  if ((chan->ircnet_status & CHAN_ASKED_INVITED) && use_invites == 1)
+    dprintf(DP_MODE, "MODE %s +I\n", chan->name);
   if (dobans) {
     if (channel_nouserbans(chan) && !stop_reset)
       resetbans(chan);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1209 eggdrop1.6/src/patch.h:1.1210
--- eggdrop1.6/src/patch.h:1.1209	Thu Oct  1 08:56:30 2009
+++ eggdrop1.6/src/patch.h	Thu Oct  1 09:02:14 2009
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1209 2009/10/01 14:56:30 pseudo Exp $
+ * $Id: patch.h,v 1.1210 2009/10/01 15:02:14 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1254408775");            /* current unixtime */
+patch("1254409271");            /* current unixtime */
 /*
  *
  *
  */
-patch("nowarnings");
+patch("geteionop");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list