]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_whois.c
start making this compile
[irc/rqf/shadowircd.git] / modules / m_whois.c
index fcf7a6895154db5064c0619f871732333b4c2145..4410db850d2e868227fba15b5d7dc6b1de09bb8e 100644 (file)
@@ -230,7 +230,7 @@ static void
 single_whois(struct Client *source_p, struct Client *target_p, int operspy)
 {
        char buf[BUFSIZE];
-       dlink_node *ptr;
+       rb_dlink_node *ptr;
        struct membership *msptr;
        struct Channel *chptr;
        int cur_len = 0;
@@ -279,7 +279,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
 
        if (!IsService(target_p))
        {
-               DLINK_FOREACH(ptr, target_p->user->channel.head)
+               RB_DLINK_FOREACH(ptr, target_p->user->channel.head)
                {
                        msptr = ptr->data;
                        chptr = msptr->chptr;