make unsupported libratbox-clean.

This commit is contained in:
William Pitcock 2008-04-01 16:22:35 -05:00
parent 71f6ebfa1f
commit 04949155a9
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ SSL_INCLUDES = @SSL_INCLUDES@
IRCDLIBS = @LIBS@ $(SSL_LIBS) 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@ CPPFLAGS = ${INCLUDES} @CPPFLAGS@
SRCS = \ 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 Channel *chptr;
struct membership *msptr; struct membership *msptr;
struct Client *target_p; struct Client *target_p;
dlink_node *ptr; rb_dlink_node *ptr;
dlink_node *next_ptr; rb_dlink_node *next_ptr;
/* admins only */ /* admins only */
if(!IsOperAdmin(source_p)) 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.. */ /* quickly make everyone a peon.. */
DLINK_FOREACH(ptr, chptr->members.head) RB_DLINK_FOREACH(ptr, chptr->members.head)
{ {
msptr = ptr->data; msptr = ptr->data;
msptr->flags &= ~CHFL_CHANOP | CHFL_VOICE; 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.mode = MODE_SECRET | MODE_TOPICLIMIT | MODE_INVITEONLY | MODE_NOPRIVMSGS;
chptr->mode.key[0] = '\0'; 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; msptr = ptr->data;
target_p = msptr->client_p; target_p = msptr->client_p;