]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_knock.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / modules / m_knock.c
index 607de1e4d68adc1ec67bbe54bd99d7e4835051eb..fce94690336eda3476322847d2ff2bc5f0c9b061 100644 (file)
@@ -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);