]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_close.c
Fix a quick compile warning.
[irc/rqf/shadowircd.git] / modules / m_close.c
index e352bc5ace6e7cb40e85911db811bdc9d961808d..681d6cb294f4cf67686d48becc585c974e2d860b 100644 (file)
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_close.c 254 2005-09-21 23:35:12Z nenolod $
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "client.h"
 #include "ircd.h"
 #include "numeric.h"
-#include "commio.h"
 #include "send.h"
 #include "msg.h"
 #include "parse.h"
@@ -53,11 +50,11 @@ static int
 mo_close(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Client *target_p;
-       dlink_node *ptr;
-       dlink_node *ptr_next;
+       rb_dlink_node *ptr;
+       rb_dlink_node *ptr_next;
        int closed = 0;
 
-       DLINK_FOREACH_SAFE(ptr, ptr_next, unknown_list.head)
+       RB_DLINK_FOREACH_SAFE(ptr, ptr_next, unknown_list.head)
        {
                target_p = ptr->data;