*/
#include "stdinc.h"
-#include "tools.h"
-#include "patricia.h"
#include "channel.h"
#include "client.h"
#include "ircd.h"
#include "numeric.h"
-#include "s_log.h"
+#include "logger.h"
#include "s_serv.h"
#include "send.h"
#include "whowas.h"
list_all_channels(struct Client *source_p)
{
struct Channel *chptr;
- dlink_node *ptr;
+ rb_dlink_node *ptr;
sendto_one(source_p, form_str(RPL_LISTSTART), me.name, source_p->name);
- DLINK_FOREACH(ptr, global_channel_list.head)
+ RB_DLINK_FOREACH(ptr, global_channel_list.head)
{
chptr = ptr->data;
sendto_one(source_p, form_str(RPL_LIST),
me.name, source_p->name, chptr->chname,
- dlink_list_length(&chptr->members),
+ rb_dlink_list_length(&chptr->members),
chptr->topic == NULL ? "" : chptr->topic);
}
form_str(ERR_NOSUCHCHANNEL), n);
else
sendto_one(source_p, form_str(RPL_LIST), me.name, source_p->name,
- chptr->chname, dlink_list_length(&chptr->members),
+ chptr->chname, rb_dlink_list_length(&chptr->members),
chptr->topic ? chptr->topic : "");
}