From 04949155a992c28eed7c7685289844743e896099 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 16:22:35 -0500 Subject: [PATCH] make unsupported libratbox-clean. --- unsupported/Makefile.in | 2 +- unsupported/m_clearchan.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/unsupported/Makefile.in b/unsupported/Makefile.in index 60ee719..4d55313 100644 --- a/unsupported/Makefile.in +++ b/unsupported/Makefile.in @@ -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 = \ diff --git a/unsupported/m_clearchan.c b/unsupported/m_clearchan.c index 9d112f2..a76d7b8 100644 --- a/unsupported/m_clearchan.c +++ b/unsupported/m_clearchan.c @@ -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;