start making this compile

This commit is contained in:
William Pitcock 2008-04-01 15:18:48 -05:00
parent d56734d6dd
commit 5b96d9a6b9
60 changed files with 1834 additions and 2071 deletions

View file

@ -196,17 +196,17 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char
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;