Log message:
some misc. cleanups to nuke compile warnings/errors so it'll compile
cleanly--sorry, guys.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@81
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2000-03-27 Kevin L. Mitchell <klmitch@emc.com>
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...
* ircd/m_opmode.c: add msg.h to includes...
#
# ChangeLog for ircu2.10.11
#
#
# 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.
#
#
# Insert new changes at beginning of the change list.
#
{
strptr[(*strptr_i)++] = ' ';
{
strptr[(*strptr_i)++] = ' ';
- while (strptr[(*strptr_i)++] = *(str1++))
+ while ((strptr[(*strptr_i)++] = *(str1++)))
; /* very simple strcat */
if (str2)
; /* very simple strcat */
if (str2)
- while (strptr[(*strptr_i)++] = *(str2++))
+ while ((strptr[(*strptr_i)++] = *(str2++)))
; /* for the two-argument form--used for numeric nicks */
}
; /* for the two-argument form--used for numeric nicks */
}
#include "channel.h"
#include "hash.h"
#include "ircd.h"
#include "channel.h"
#include "hash.h"
#include "ircd.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
#include "numnicks.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 */
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);
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);
else
sendto_serv_butone(cptr, "%s%s " TOK_CLEARMODE " %s %s", NumNick(sptr),
chptr->chname, control_buf);