]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_stats.c
Add resv oper priv, enabled by default for compatibility.
[irc/rqf/shadowircd.git] / modules / m_stats.c
index 14c3bf7e4be90228335838a7f365468cfccd240c..3c52100a7e459a9334b7ef20fe6089f173ff3ddc 100644 (file)
@@ -259,16 +259,13 @@ static void
 stats_delay(struct Client *source_p)
 {
        struct nd_entry *nd;
-       dlink_node *ptr;
-       int i;
+       struct DictionaryIter iter;
 
-       HASH_WALK(i, U_MAX, ptr, ndTable)
+       DICTIONARY_FOREACH(nd, &iter, nd_dict)
        {
-               nd = ptr->data;
                sendto_one_notice(source_p, "Delaying: %s for %ld",
                                nd->name, (long) nd->expire);
        }
-       HASH_WALK_END
 }
 
 static void