]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/monitor.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / src / monitor.c
index 4feca72628598ac546544619a635130fac32d57e..907c7f1ba93bfe55e565ef11a516d5aee4ac35b6 100644 (file)
  * $Id: monitor.c 3520 2007-06-30 22:15:35Z jilles $
  */
 #include "stdinc.h"
-#include "tools.h"
 #include "client.h"
-#include "memory.h"
-#include "balloc.h"
 #include "monitor.h"
 #include "hash.h"
-#include "event.h"
 #include "numeric.h"
 
 static struct monitor *monitorTable[MONITOR_HASH_SIZE];
@@ -135,7 +131,7 @@ clear_monitor(struct Client *client_p)
        struct monitor *monptr;
        rb_dlink_node *ptr, *next_ptr;
 
-       DLINK_FOREACH_SAFE(ptr, next_ptr, client_p->localClient->monitor_list.head)
+       RB_DLINK_FOREACH_SAFE(ptr, next_ptr, client_p->localClient->monitor_list.head)
        {
                monptr = ptr->data;