]> jfr.im git - solanum.git/blobdiff - modules/m_cap.c
authd/provider: do not accept clients until all providers have had a chance to run
[solanum.git] / modules / m_cap.c
index c054aeeab394185e46f62244f488a23555156dbb..a1dd5b29793e96cffda1ad89e4eccb1994bf33bc 100644 (file)
@@ -157,7 +157,7 @@ clicap_generate(struct Client *source_p, const char *subcmd, int flags)
        int buflen = 0;
        int mlen;
        struct CapabilityEntry *entry;
-       struct DictionaryIter iter;
+       rb_dictionary_iter iter;
 
        mlen = snprintf(buf, sizeof buf, ":%s CAP %s %s",
                        me.name,
@@ -171,7 +171,7 @@ clicap_generate(struct Client *source_p, const char *subcmd, int flags)
                return;
        }
 
-       DICTIONARY_FOREACH(entry, &iter, cli_capindex->cap_dict)
+       RB_DICTIONARY_FOREACH(entry, &iter, cli_capindex->cap_dict)
        {
                size_t caplen = 0;
                struct ClientCapability *clicap = entry->ownerdata;