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

cvslog cvs at tsss.org
Sun Sep 22 04:23:00 CST 2002


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

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

Log message:

Fixed a warning in check_this_member().

---------------------- diff included ----------------------
Index: eggdrop1.6/src/mod/irc.mod/chan.c
diff -u eggdrop1.6/src/mod/irc.mod/chan.c:1.96 eggdrop1.6/src/mod/irc.mod/chan.c:1.97
--- eggdrop1.6/src/mod/irc.mod/chan.c:1.96	Sun Sep 22 03:12:30 2002
+++ eggdrop1.6/src/mod/irc.mod/chan.c	Sun Sep 22 04:22:10 2002
@@ -6,7 +6,7 @@
  *   user kickban, kick, op, deop
  *   idle kicking
  *
- * $Id: chan.c,v 1.96 2002/09/22 08:12:30 wcc Exp $
+ * $Id: chan.c,v 1.97 2002/09/22 09:22:10 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -726,36 +726,38 @@
         add_mode(chan, '-', 'h', m->nick);
       if (!chan_hasop(m) && (chan_op(*fr) || (glob_op(*fr) &&
           !chan_deop(*fr))) && (channel_autoop(chan) || glob_autoop(*fr) ||
-          chan_autoop(*fr)))
+          chan_autoop(*fr))) {
         if (!chan->aop_min)
           add_mode(chan, '+', 'o', m->nick);
         else {
           set_delay(chan, m->nick);
           m->flags |= SENTOP;
 	}
-      else if (!chan_hasop(m) && !chan_hashalfop(m) && (chan_halfop(*fr) ||
+      } else if (!chan_hasop(m) && !chan_hashalfop(m) && (chan_halfop(*fr) ||
                (glob_halfop(*fr) && !chan_dehalfop(*fr))) &&
                (channel_autohalfop(chan) || glob_autohalfop(*fr) ||
-               chan_autohalfop(*fr)))
+               chan_autohalfop(*fr))) {
         if (!chan->aop_min)
           add_mode(chan, '+', 'h', m->nick);
         else {
           set_delay(chan, m->nick);
           m->flags |= SENTHALFOP;
 	}
+      }
     }
     if (chan_hasvoice(m) && (chan_quiet(*fr) || (glob_quiet(*fr) &&
         !chan_voice(*fr))))
       add_mode(chan, '-', 'v', m->nick);
     if (!chan_hasvoice(m) && !chan_hasop(m) && !chan_hashalfop(m) &&
         (chan_voice(*fr) || (glob_voice(*fr) && !chan_quiet(*fr))) &&
-        (channel_autovoice(chan) || glob_gvoice(*fr) || chan_gvoice(*fr)))
+        (channel_autovoice(chan) || glob_gvoice(*fr) || chan_gvoice(*fr))) {
       if (!chan->aop_min)
         add_mode(chan, '+', 'v', m->nick);
       else {
         set_delay(chan, m->nick);
         m->flags |= SENTVOICE;
       }
+    }
   }
 
   sprintf(s, "%s!%s", m->nick, m->userhost);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.827 eggdrop1.6/src/patch.h:1.828
--- eggdrop1.6/src/patch.h:1.827	Sun Sep 22 03:12:30 2002
+++ eggdrop1.6/src/patch.h	Sun Sep 22 04:22:10 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.827 2002/09/22 08:12:30 wcc Exp $
+ * $Id: patch.h,v 1.828 2002/09/22 09:22:10 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1032682100");		/* current unixtime */
+patch("1032686288");		/* current unixtime */
 /*
  *
  *
  */
-patch("auto-logic");
+patch("auto-logic2");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list