Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-04-07 02:45:15 UTC

Modified files:
     ChangeLog ircd/m_burst.c

Log message:

Clear channel manager bit when wiping out local chanops in a burst.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.591 ircu2.10/ChangeLog:1.592
--- ircu2.10/ChangeLog:1.591    Wed Apr  6 19:10:21 2005
+++ ircu2.10/ChangeLog  Wed Apr  6 19:45:03 2005
@@ -1,5 +1,10 @@
 2005-04-06  Michael Poole <[EMAIL PROTECTED]>
 
+       * ircd/m_burst.c (ms_burst): Clear channel manager bit when wiping
+       out locally opped and voiced channel members.
+
+2005-04-06  Michael Poole <[EMAIL PROTECTED]>
+
        * include/numeric.h (RPL_APASSWARN): Replace with three distinct
        values.
        (ERR_NOMANAGER_LONG): Assign new numeric.
Index: ircu2.10/ircd/m_burst.c
diff -u ircu2.10/ircd/m_burst.c:1.33 ircu2.10/ircd/m_burst.c:1.34
--- ircu2.10/ircd/m_burst.c:1.33        Sun Mar 27 18:27:24 2005
+++ ircu2.10/ircd/m_burst.c     Wed Apr  6 19:45:05 2005
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_burst.c,v 1.33 2005/03/28 02:27:24 entrope Exp $
+ * $Id: m_burst.c,v 1.34 2005/04/07 02:45:05 entrope Exp $
  */
 
 /*
@@ -537,8 +537,9 @@
          modebuf_mode_client(mbuf, MODE_DEL | CHFL_CHANOP, member->user);
        if (member->status & CHFL_VOICE)
          modebuf_mode_client(mbuf, MODE_DEL | CHFL_VOICE, member->user);
-       member->status = ((member->status & ~(CHFL_CHANOP | CHFL_VOICE)) |
-                         CHFL_DEOPPED);
+       member->status = (member->status
+                          & ~(CHFL_CHANNEL_MANAGER | CHFL_CHANOP | CHFL_VOICE))
+                        | CHFL_DEOPPED;
       }
     }
 
----------------------- End of diff -----------------------

Reply via email to