+2000-03-31 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
+ keys and limits that are set
+
2000-03-30 Perry Lorier <isomer@coders.net>
* ircd/ircd.c: rewrote check_pings() for maintainability
and speed. Also changed quit msg's so they don't have
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.46 2000-03-30 22:09:51 isomer Exp $
+# $Id: ChangeLog,v 1.47 2000-03-31 15:35:18 kev Exp $
#
# Insert new changes at beginning of the change list.
#
* If we're removing the key, note that; note that we can't clear
* the key until after modebuf_* are done with it
*/
- if (del_mode & MODE_KEY && chptr->mode.mode & MODE_KEY)
+ if (del_mode & MODE_KEY && *chptr->mode.key)
modebuf_mode_string(&mbuf, MODE_DEL | MODE_KEY, chptr->mode.key);
/* If we're removing the limit, note that and clear the limit */
- if (del_mode & MODE_LIMIT && chptr->mode.mode & MODE_KEY) {
+ if (del_mode & MODE_LIMIT && chptr->mode.limit) {
modebuf_mode_uint(&mbuf, MODE_DEL | MODE_LIMIT, chptr->mode.limit);
chptr->mode.limit = 0; /* not referenced, so safe */
}