]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/supported.c
macro replacement
[irc/rqf/shadowircd.git] / src / supported.c
index 9dd8395c91c41e9e8526329ed3305e384e876f47..8066c7f98bf5c5902417859ca2c86a535684220e 100644 (file)
@@ -117,7 +117,7 @@ delete_isupport(const char *name)
        rb_dlink_node *ptr, *next_ptr;
        struct isupportitem *item;
 
-       DLINK_FOREACH_SAFE(ptr, next_ptr, isupportlist.head)
+       RB_DLINK_FOREACH_SAFE(ptr, next_ptr, isupportlist.head)
        {
                item = ptr->data;
 
@@ -150,7 +150,7 @@ show_isupport(struct Client *client_p)
        extra_space += strlen(me.name) + 1 + strlen(form_str(RPL_ISUPPORT));
 
        nchars = extra_space, nparams = 0, buf[0] = '\0';
-       DLINK_FOREACH(ptr, isupportlist.head)
+       RB_DLINK_FOREACH(ptr, isupportlist.head)
        {
                item = ptr->data;
                value = (*item->func)(item->param);