static void
add_invite(struct Channel *chptr, struct Client *who)
{
- dlink_node *ptr;
+ rb_dlink_node *ptr;
/* already invited? */
- DLINK_FOREACH(ptr, who->user->invited.head)
+ RB_DLINK_FOREACH(ptr, who->user->invited.head)
{
if(ptr->data == chptr)
return;
}
/* ok, if their invite list is too long, remove the tail */
- if((int)dlink_list_length(&who->user->invited) >=
+ if((int)rb_dlink_list_length(&who->user->invited) >=
ConfigChannel.max_chans_per_user)
{
ptr = who->user->invited.tail;