]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_findforwards.c
Prevent cork usage as charybdis doesn't have its support
[irc/rqf/shadowircd.git] / extensions / m_findforwards.c
index 488c610f661f796be50879d4eb6e42d47f870553..746b59043cebb34c85bcd6e1142d90f194b30aa5 100644 (file)
@@ -59,7 +59,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const
        static time_t last_used = 0;
        struct Channel *chptr;
        struct membership *msptr;
-       dlink_node *ptr;
+       rb_dlink_node *ptr;
        char buf[414];
        char *p = buf, *end = buf + sizeof buf - 1;
        *p = '\0';
@@ -91,7 +91,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const
                        last_used = CurrentTime;
        }
        
-       DLINK_FOREACH(ptr, global_channel_list.head)
+       RB_DLINK_FOREACH(ptr, global_channel_list.head)
        {
                chptr = ptr->data;
                if(chptr->mode.forward && !irccmp(chptr->mode.forward, parv[1]))