2000-03-27 Kevin L. Mitchell <klmitch@emc.com>
- * ircd/m_clearmode.c: add msg.h to includes...
+ * ircd/m_clearmode.c: add msg.h to includes; other misc cleanups
+ to make it all compile
* ircd/m_opmode.c: add msg.h to includes...
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.31 2000-03-27 21:04:57 kev Exp $
+# $Id: ChangeLog,v 1.32 2000-03-27 21:16:56 kev Exp $
#
# Insert new changes at beginning of the change list.
#
{
strptr[(*strptr_i)++] = ' ';
- while (strptr[(*strptr_i)++] = *(str1++))
+ while ((strptr[(*strptr_i)++] = *(str1++)))
; /* very simple strcat */
if (str2)
- while (strptr[(*strptr_i)++] = *(str2++))
+ while ((strptr[(*strptr_i)++] = *(str2++)))
; /* for the two-argument form--used for numeric nicks */
}
#include "channel.h"
#include "hash.h"
#include "ircd.h"
+#include "ircd_alloc.h"
#include "ircd_reply.h"
#include "ircd_string.h"
+#include "list.h"
#include "msg.h"
#include "numeric.h"
#include "numnicks.h"
chptr->mode.mode &= ~del_mode; /* and of course actually delete them */
/* If we're removing invite, remove all the invites */
- if (del_mode & MODE_INVITE)
+ if (del_mode & MODE_INVITEONLY)
while ((link = chptr->invites))
del_invite(link->value.cptr, chptr);
else
sendto_serv_butone(cptr, "%s%s " TOK_CLEARMODE " %s %s", NumNick(sptr),
chptr->chname, control_buf);
+
+ return 0;
}
/*