X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/5366977b4f3c7a50d170bf7a1e29b14c74944db7..4562c604897f18f08e1bee993d455d9c1774f9ad:/modules/m_testmask.c diff --git a/modules/m_testmask.c b/modules/m_testmask.c index 9acb6f4d..373193df 100644 --- a/modules/m_testmask.c +++ b/modules/m_testmask.c @@ -1,6 +1,6 @@ /* * m_testmask.c: Shows the number of matching local and global clients - * for a user@host mask, helpful when setting GLINE's + * for a user@host mask * * Copyright (C) 2003 by W. Campbell * Coypright (C) 2004 ircd-ratbox development team @@ -38,10 +38,10 @@ #include "client.h" #include "common.h" /* FALSE bleah */ #include "ircd.h" -#include "irc_string.h" +#include "match.h" #include "numeric.h" #include "s_conf.h" -#include "s_log.h" +#include "logger.h" #include "s_serv.h" #include "send.h" #include "msg.h" @@ -72,7 +72,7 @@ mo_testmask(struct Client *client_p, struct Client *source_p, char *name, *username, *hostname; const char *sockhost; char *gecos = NULL, *mangle_gecos = NULL; - dlink_node *ptr; + rb_dlink_node *ptr; name = LOCAL_COPY(parv[1]); collapse(name); @@ -139,7 +139,7 @@ mo_testmask(struct Client *client_p, struct Client *source_p, mangle_gecos = gecos; } - DLINK_FOREACH(ptr, global_client_list.head) + RB_DLINK_FOREACH(ptr, global_client_list.head) { target_p = ptr->data;