X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/732a8c5344cd443af01e8f7200eab48cdb39eed5..90a3c35b295b07ebe3793bf5d3b882c3c1a5dc7c:/modules/m_knock.c diff --git a/modules/m_knock.c b/modules/m_knock.c index 607de1e..fce9469 100644 --- a/modules/m_knock.c +++ b/modules/m_knock.c @@ -25,7 +25,6 @@ #include "stdinc.h" #include "sprintf_irc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" @@ -106,7 +105,7 @@ m_knock(struct Client *client_p, struct Client *source_p, int parc, const char * 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);