make unsupported libratbox-clean.

This commit is contained in:
William Pitcock 2008-04-01 16:22:35 -05:00
parent 036a10a995
commit 194590a38b
2 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ SSL_INCLUDES = @SSL_INCLUDES@
IRCDLIBS = @LIBS@ $(SSL_LIBS)
INCLUDES = -I. -I../include -I../libcharybdis -I../adns $(SSL_INCLUDES)
INCLUDES = -I. -I../include -I../libcharybdis -I../libratbox/include $(SSL_INCLUDES)
CPPFLAGS = ${INCLUDES} @CPPFLAGS@
SRCS = \

View file

@ -59,8 +59,8 @@ mo_clearchan(struct Client *client_p, struct Client *source_p, int parc, const c
struct Channel *chptr;
struct membership *msptr;
struct Client *target_p;
dlink_node *ptr;
dlink_node *next_ptr;
rb_dlink_node *ptr;
rb_dlink_node *next_ptr;
/* admins only */
if(!IsOperAdmin(source_p))
@ -84,7 +84,7 @@ mo_clearchan(struct Client *client_p, struct Client *source_p, int parc, const c
}
/* quickly make everyone a peon.. */
DLINK_FOREACH(ptr, chptr->members.head)
RB_DLINK_FOREACH(ptr, chptr->members.head)
{
msptr = ptr->data;
msptr->flags &= ~CHFL_CHANOP | CHFL_VOICE;
@ -124,7 +124,7 @@ mo_clearchan(struct Client *client_p, struct Client *source_p, int parc, const c
chptr->mode.mode = MODE_SECRET | MODE_TOPICLIMIT | MODE_INVITEONLY | MODE_NOPRIVMSGS;
chptr->mode.key[0] = '\0';
DLINK_FOREACH_SAFE(ptr, next_ptr, chptr->members.head)
RB_DLINK_FOREACH_SAFE(ptr, next_ptr, chptr->members.head)
{
msptr = ptr->data;
target_p = msptr->client_p;