[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Dec 2 21:27:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-03 03:26:03 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     modules/irc/mode.c

Log message:

Fixed stopnethack bug. Patch by Axel Franke <eule at berlin.snafu.de>

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/irc/mode.c
diff -u eggdrop1.7/modules/irc/mode.c:1.4 eggdrop1.7/modules/irc/mode.c:1.5
--- eggdrop1.7/modules/irc/mode.c:1.4	Sun Dec  2 05:43:30 2001
+++ eggdrop1.7/modules/irc/mode.c	Sun Dec  2 21:25:53 2001
@@ -4,7 +4,7 @@
  *   channel mode changes and the bot's reaction to them
  *   setting and getting the current wanted channel modes
  *
- * $Id: mode.c,v 1.4 2001/12/02 11:43:30 ite Exp $
+ * $Id: mode.c,v 1.5 2001/12/03 03:25:53 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -431,8 +431,9 @@
     if (chan_deop(victim) || (glob_deop(victim) && !chan_op(victim))) {
       m->flags |= FAKEOP;
       add_mode(chan, '-', 'o', who);
-    } else if (snm > 0 && snm < 7 && !(m->delay) &&
-	       !glob_exempt(victim) && !chan_exempt(victim)) {
+    } else if (snm > 0 && snm < 7 && !((channel_autoop(chan) || glob_autoop(victim) ||
+	       chan_autoop(victim)) && (chan_op(victim) || (glob_op(victim) &&
+	       !chan_deop(victim)))) && !glob_exempt(victim) && !chan_exempt(victim)) {
       if (snm == 5) snm = channel_bitch(chan) ? 1 : 3;
       if (snm == 6) snm = channel_bitch(chan) ? 4 : 2;
       if (chan_wasoptest(victim) || glob_wasoptest(victim) ||
----------------------- End of diff -----------------------



More information about the Changes mailing list