[cvslog] (2005-07-31 02:24:06 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Sat Jul 30 20:24:07 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-07-31 02:24:06 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

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

Log message:

- The pushmode command should work properly for bans now.
* Patch by: thommey

TEST ME.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.612 eggdrop1.6/doc/UPDATES1.6:1.613
--- eggdrop1.6/doc/UPDATES1.6:1.612	Sat Jul 30 21:18:35 2005
+++ eggdrop1.6/doc/UPDATES1.6	Sat Jul 30 21:23:56 2005
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.612 2005/07/31 02:18:35 wcc Exp $
+$Id: UPDATES1.6,v 1.613 2005/07/31 02:23:56 wcc Exp $
 
 Eggdrop Changes (since v1.6.0)
     _____________________________________________________________________
@@ -12,6 +12,9 @@
 
 
   1.6.18:
+    - The pushmode command should work properly for bans now.
+    * Patch by: thommey
+
     - Apparently we broke lastbind.
     * Found by: bUrN - Patch by: thommey
 
Index: eggdrop1.6/src/mod/irc.mod/mode.c
diff -u eggdrop1.6/src/mod/irc.mod/mode.c:1.78 eggdrop1.6/src/mod/irc.mod/mode.c:1.79
--- eggdrop1.6/src/mod/irc.mod/mode.c:1.78	Mon Jan  3 14:01:46 2005
+++ eggdrop1.6/src/mod/irc.mod/mode.c	Sat Jul 30 21:23:56 2005
@@ -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.78 2005/01/03 20:01:46 paladin Exp $
+ * $Id: mode.c,v 1.79 2005/07/31 02:23:56 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1122,7 +1122,6 @@
           if (op == '\0') {
             break;
           }
-          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           if (ms2[0] == '+') {
             set_key(chan, op);
             if (channel_active(chan))
@@ -1137,6 +1136,7 @@
             }
             set_key(chan, NULL);
           }
+          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           break;
         case 'o':
           op = newsplit(&msg);
@@ -1199,29 +1199,29 @@
         case 'b':
           op = newsplit(&msg);
           fixcolon(op);
-          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           if (ms2[0] == '+')
             got_ban(chan, nick, from, op);
           else
             got_unban(chan, nick, from, op, u);
+          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           break;
         case 'e':
           op = newsplit(&msg);
           fixcolon(op);
-          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           if (ms2[0] == '+')
             got_exempt(chan, nick, from, op);
           else
             got_unexempt(chan, nick, from, op, u);
+          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           break;
         case 'I':
           op = newsplit(&msg);
           fixcolon(op);
-          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           if (ms2[0] == '+')
             got_invite(chan, nick, from, op);
           else
             got_uninvite(chan, nick, from, op, u);
+          check_tcl_mode(nick, from, u, chan->dname, ms2, op);
           break;
         }
         if (todo) {
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1155 eggdrop1.6/src/patch.h:1.1156
--- eggdrop1.6/src/patch.h:1.1155	Sat Jul 30 21:18:35 2005
+++ eggdrop1.6/src/patch.h	Sat Jul 30 21:23:56 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1155 2005/07/31 02:18:35 wcc Exp $
+ * $Id: patch.h,v 1.1156 2005/07/31 02:23:56 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1122776494");            /* current unixtime */
+patch("1122776771");            /* current unixtime */
 /*
  *
  *
  */
-patch("lastbind-fix");
+patch("modebindfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list