]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_olist.c
Prevent cork usage as charybdis doesn't have its support
[irc/rqf/shadowircd.git] / extensions / m_olist.c
index 38939179fc27c6541163d2f25275d505eb4ed07f..8d295c1013d355e097a2f0241e037b3e6c688fa9 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "stdinc.h"
 #include "tools.h"
-#include "patricia.h"
 #include "channel.h"
 #include "client.h"
 #include "ircd.h"
@@ -101,10 +100,10 @@ static void
 list_all_channels(struct Client *source_p)
 {
        struct Channel *chptr;
-       dlink_node *ptr;
+       rb_dlink_node *ptr;
        sendto_one(source_p, form_str(RPL_LISTSTART), me.name, source_p->name);
 
-       DLINK_FOREACH(ptr, global_channel_list.head)
+       RB_DLINK_FOREACH(ptr, global_channel_list.head)
        {
                chptr = ptr->data;