X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/85550587fb0015fcd5ceba413987e423bfb33879..8e2ebdb80add54d46c9f7f058ad469d70ddf9457:/modules/m_help.c diff --git a/modules/m_help.c b/modules/m_help.c index 544b54a3..ae5b90e9 100644 --- a/modules/m_help.c +++ b/modules/m_help.c @@ -31,7 +31,7 @@ #include "numeric.h" #include "send.h" #include "s_conf.h" -#include "s_log.h" +#include "logger.h" #include "parse.h" #include "modules.h" #include "hash.h" @@ -96,8 +96,8 @@ dohelp(struct Client *source_p, int flags, const char *topic) static const char ntopic[] = "index"; struct cachefile *hptr; struct cacheline *lineptr; - dlink_node *ptr; - dlink_node *fptr; + rb_dlink_node *ptr; + rb_dlink_node *fptr; if(EmptyString(topic)) topic = ntopic; @@ -118,7 +118,7 @@ dohelp(struct Client *source_p, int flags, const char *topic) sendto_one(source_p, form_str(RPL_HELPSTART), me.name, source_p->name, topic, lineptr->data); - DLINK_FOREACH(ptr, fptr->next) + RB_DLINK_FOREACH(ptr, fptr->next) { lineptr = ptr->data;