#include "stdinc.h"
#include "sprintf_irc.h"
-#include "tools.h"
#include "channel.h"
#include "client.h"
#include "hash.h"
if(!((chptr->mode.mode & MODE_INVITEONLY) || (*chptr->mode.key) ||
(chptr->mode.limit &&
- dlink_list_length(&chptr->members) >= (unsigned long)chptr->mode.limit)))
+ rb_dlink_list_length(&chptr->members) >= (unsigned long)chptr->mode.limit)))
{
sendto_one_numeric(source_p, ERR_CHANOPEN,
form_str(ERR_CHANOPEN), name);