]> jfr.im git - solanum.git/blobdiff - modules/m_stats.c
DICTIONARY_FOREACH → RB_DICTIONARY_FOREACH
[solanum.git] / modules / m_stats.c
index b963d2ba44db6ce68a48c9c630ac4e0b0a696b44..2602042b6abf257546fb027658f1c5be4a628066 100644 (file)
@@ -287,7 +287,7 @@ stats_delay(struct Client *source_p)
        struct nd_entry *nd;
        struct DictionaryIter iter;
 
-       DICTIONARY_FOREACH(nd, &iter, nd_dict)
+       RB_DICTIONARY_FOREACH(nd, &iter, nd_dict)
        {
                sendto_one_notice(source_p, ":Delaying: %s for %ld",
                                nd->name, (long) nd->expire);
@@ -738,7 +738,7 @@ stats_messages(struct Client *source_p)
        struct Message *msg;
        struct alias_entry *amsg;
 
-       DICTIONARY_FOREACH(msg, &iter, cmd_dict)
+       RB_DICTIONARY_FOREACH(msg, &iter, cmd_dict)
        {
                s_assert(msg->cmd != NULL);
                sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
@@ -747,7 +747,7 @@ stats_messages(struct Client *source_p)
                                   msg->bytes, msg->rcount);
        }
 
-       DICTIONARY_FOREACH(amsg, &iter, alias_dict)
+       RB_DICTIONARY_FOREACH(amsg, &iter, alias_dict)
        {
                s_assert(amsg->name != NULL);
                sendto_one_numeric(source_p, RPL_STATSCOMMANDS,