]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_restart.c
start making this compile
[irc/rqf/shadowircd.git] / modules / m_restart.c
index 04ef9061b93ec091f079db04b8104641c59336f8..2f804e26be246ec7d835c6a4090632f156cddb98 100644 (file)
@@ -58,7 +58,7 @@ static int
 mo_restart(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        char buf[BUFSIZE];
-       dlink_node *ptr;
+       rb_dlink_node *ptr;
        struct Client *target_p;
 
        if(!IsOperDie(source_p))
@@ -79,14 +79,14 @@ mo_restart(struct Client *client_p, struct Client *source_p, int parc, const cha
                return 0;
        }
 
-       DLINK_FOREACH(ptr, lclient_list.head)
+       RB_DLINK_FOREACH(ptr, lclient_list.head)
        {
                target_p = ptr->data;
 
                sendto_one_notice(target_p, ":Server Restarting. %s", get_client_name(source_p, HIDE_IP));
        }
 
-       DLINK_FOREACH(ptr, serv_list.head)
+       RB_DLINK_FOREACH(ptr, serv_list.head)
        {
                target_p = ptr->data;