make unsupported libratbox-clean.
This commit is contained in:
parent
71f6ebfa1f
commit
04949155a9
|
@ -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 = \
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue