]> jfr.im git - solanum.git/blobdiff - ircd/dns.c
authd: It Works, Bitches™
[solanum.git] / ircd / dns.c
index a4615351b2fe61d2c72a25f041b6aadc7aece7db..a3a8077e1f7a5a92cee6eabe9c37a15c3c892c2c 100644 (file)
@@ -58,8 +58,8 @@ struct dnsstatreq
 };
 
 /* These serve as a form of sparse array */
-static struct Dictionary *query_dict;
-static struct Dictionary *stat_dict;
+static rb_dictionary *query_dict;
+static rb_dictionary *stat_dict;
 
 rb_dlink_list nameservers;
 
@@ -228,7 +228,7 @@ dns_stats_results_callback(const char *callid, const char *status, int resc, con
 {
        struct dnsstatreq *req;
        uint32_t qid;
-       int st, i;
+       int st;
        long lqid = strtol(callid, NULL, 16);
 
        if(lqid > UINT32_MAX)
@@ -303,7 +303,7 @@ void
 reload_nameservers(void)
 {
        check_authd();
-       rb_helper_write(authd_helper, "H D");
+       rb_helper_write(authd_helper, "R D");
        (void)get_nameservers(stats_results_callback, NULL);
 }