diff --git a/modules/m_trace.c b/modules/m_trace.c index e2c0e0b..0482c1d 100644 --- a/modules/m_trace.c +++ b/modules/m_trace.c @@ -110,7 +110,7 @@ m_trace(struct Client *client_p, struct Client *source_p, int parc, const char * if(ac2ptr == NULL) { - RB_DLINK_FOREACH(ptr, global_client_list.head) + RB_DLINK_FOREACH(ptr, global_serv_list.head) { ac2ptr = ptr->data; diff --git a/src/s_serv.c b/src/s_serv.c index 79a318c..161dc81 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -157,7 +157,7 @@ hunt_server(struct Client *client_p, struct Client *source_p, */ if(!target_p && wilds) { - RB_DLINK_FOREACH(ptr, global_client_list.head) + RB_DLINK_FOREACH(ptr, global_serv_list.head) { if(match(new, ((struct Client *) (ptr->data))->name)) {